Abstract

In this paper, we propose an improved filtering algorithm for regular constraint, which demand that the sequence of all assignments for variables can be accepted by a Deterministic Finite Automaton (DFA) or a regular language. Regular constraint is a type of global constraint in Constraint Satisfaction Problems (CSPs) and a natural expression of deterministic patterns in planning and decision making, and it utilizes the properties of DFA to pre-specify the optional paths for multiple variables. Thus, it is sensible to improve the filtering algorithm that enforces Generalized Arc Consistency (GAC) for regular constraint in order to minimize memory and time consumption. With the goal in mind, we encode DFA using bit vectors and then devise a bit operations algorithm to maintain the domain consistency for regular constraint. Lastly, we carry out an experiment to compare to the state-of-the-art filtering algorithm. The experimental results demonstrates that the proposed algorithm significantly improves both memory and time.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call