Authors
Claude-Guy Quimper, Toby Walsh
Publication date
2007/9/23
Book
International Conference on Principles and Practice of Constraint Programming
Pages
590-604
Publisher
Springer Berlin Heidelberg
Description
A wide range of constraints can be specified using automata or formal languages. The Grammar constraint restricts the values taken by a sequence of variables to be a string from a given context-free language. Based on an AND/OR decomposition, we show that this constraint can be converted into clauses in conjunctive normal form without hindering propagation. Using this decomposition, we can propagate the Grammar constraint in O(n 3) time. The decomposition also provides an efficient incremental propagator. Down a branch of the search tree of length k, we can enforce GAC k times in the same O(n 3) time. On specialized languages, running time can be even better. For example, propagation of the decomposition requires just O(n|δ|) time for regular languages where |δ| is the size of the transition table of the automaton recognizing the regular language. Experiments on a shift …
Total citations
2007200820092010201120122013201420152016201720182019202020212022202320241795115644452142112
Scholar articles
CG Quimper, T Walsh - International Conference on Principles and Practice of …, 2007