Propagating regular counting constraints

Nicolas Beldiceanu 1 Pierre Flener 2 Justin Pearson 2 Pascal Van Hentenryck 3
1 TASC - Theory, Algorithms and Systems for Constraints
Inria Rennes – Bretagne Atlantique , Département informatique - EMN, LINA - Laboratoire d'Informatique de Nantes Atlantique
Abstract : Constraints over finite sequences of variables are ubiquitous in sequencing and timetabling. Moreover, the wide variety of such constraints in practical applications led to general modelling techniques and generic propagation algorithms, often based on deterministic finite automata (DFA) and their extensions. We consider counter-DFAs (cDFA), which provide concise models for regular counting constraints, that is constraints over the number of times a regular-language pattern occurs in a sequence. We show how to enforce domain consistency in polynomial time for atmost and atleast regular counting constraints based on the frequent case of a cDFA with only accepting states and a single counter that can be incremented by transitions. We also prove that the satisfaction of exact regular counting constraints is NP-hard and indicate that an incomplete algorithm for exact regular counting constraints is faster and provides more pruning than the existing propagator from [3]. Regular counting constraints are closely related to the CostRegular constraint but contribute both a natural abstraction and some computational advantages.
Type de document :
[Research Report] 2013, pp.16
Liste complète des métadonnées
Contributeur : Contraintes Lina <>
Soumis le : jeudi 17 octobre 2013 - 15:42:43
Dernière modification le : mardi 16 janvier 2018 - 14:38:43


  • HAL Id : hal-00874338, version 1



Nicolas Beldiceanu, Pierre Flener, Justin Pearson, Pascal Van Hentenryck. Propagating regular counting constraints. [Research Report] 2013, pp.16. 〈hal-00874338〉



Consultations de la notice