1. Domain consistency with forbidden values
- Author
-
Pascal Van Hentenryck, Jean-Baptiste Mairy, Yves Deville, and UCL - SST/ICTM/INGI - Pôle en ingénierie informatique
- Subjects
QA75 ,Function (mathematics) ,Logical consequence ,Domain (software engineering) ,Consistency (database systems) ,Negative constraints ,Computational Theory and Mathematics ,Artificial Intelligence ,Discrete Mathematics and Combinatorics ,Consistency ,Simple variant ,Propagation ,Algorithm ,Software ,Mathematics - Abstract
This paper presents a novel domain-consistency algorithm which does not maintain supports dynamically during propagation, but rather maintains forbidden values. It introduces the optimal NAC4 (negative AC4) algorithm based on this idea, as an instance of the generic algorithm AC5. The paper then shows how forbidden values and supports can be used jointly to achieve domain consistency on logical combinations of constraints and to compute validity as well as entailment of constraints. The combination of NAC4 and AC4, denoted byPNAC4, allows to achieve domain consistency in time O(ed) for classes of constraints in which the number of supports is O(d 2) but the number of forbidden values is O(d), or conversely. The paper also presents a simple variant of AC3, denoted PNAC3. Both PNAC4 and PNAC3 are especially efficient on classes of constraints offering a O(1) getSupports or getForbidden function. Experimental results show that, on these particular classes of constraints, the joint exploitation of supports and forbidden values outperforms the standard AC algorithms, and that the use of a specialized getSupports or getForbidden function enhances the efficiency of the algorithms, especially for PNAC3 which is very close to the efficiency of totally dedicated consistency algorithms.
- Published
- 2012
- Full Text
- View/download PDF