Propagating Regular Counting Constraints - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2014

Propagating Regular Counting Constraints

Résumé

Constraints over finite sequences of variables are ubiquitous in sequencing and timetabling. This led to general modelling techniques and generic propagators, 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 at-most and at-least regular counting constraints based on the frequent case of a cDFA with only accepting states and a single counter that can be increased by transitions. We also show that the satisfaction of exact regular counting constraints is NP-hard and that an incomplete propagator for exact regular counting constraints is faster and provides more pruning than the existing propagator from (Beldiceanu, Carlsson, and Petit 2004). Finally, by avoiding the unrolling of the cDFA used by COSTREGULAR, the space complexity reduces from O(n · |Σ| · |Q|) to O(n · (|Σ| + |Q|)), where Σ is the alphabet and Q the state set of the cDFA.
Fichier non déposé

Dates et versions

hal-01086758 , version 1 (24-11-2014)

Identifiants

  • HAL Id : hal-01086758 , version 1

Citer

Nicolas Beldiceanu, Pierre Flener, Justin Pearson, Pascal van Hentenryck. Propagating Regular Counting Constraints. Twenty-Eighth AAAI Conference on Artificial Intelligence, Jul 2014, Québec, Canada. ⟨hal-01086758⟩
131 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More