Abstract
Arc-consistency algorithms are widely used to prune the search-space of Constraint Satisfaction Problems (CSPs). They use support-checks (also known as consistency-checks) to find out about the properties of CSPs. They use arc-heuristics to select the next constraint and domain-heuristics to select the next values for their next support-check. We will investigate the effects of domain- heuristics by studying the average time-complexity of two arc-consistency algorithms which use different domain-heuristics. We will assume that there are only two variables. The first algorithm, called \( \mathcal{L} \) , uses a lexicographical heuristic. The second algorithm, called \( \mathcal{D} \), uses a heuristic based on the notion of a double- support check.We will discuss the consequences of our simplification about the number of variables in the CSP and we will carry out a case-study for the case where the domain-sizes of the variables is two.We will present relatively simple formulae for the exact average time-complexity of both algorithms as well as simple bounds. As a and b become large \( \mathcal{L} \) will require about 2a + 2b − 2 log2(a) − 0.665492 checks on average, where a and b are the domain-sizes and log2(·) is the base- 2 logarithm. \( \mathcal{D} \) requires an average number of support-checks which is below 2 max(a, b) + 2 if a + b ≥ 14. Our results demonstrate that \( \mathcal{D} \) is the superior algorithm. Finally, we will provide the result that on average \( \mathcal{D} \) requires strictly fewer than two checks more than any other algorithm if a + b ≥ 14.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
C. Bessière, E.C. Freuder, and J.-C. Régin. Using inference to reduce arc consistency computation. In C.S. Mellish, editor, Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence (IJCAI’95), volume 1, pages 592–598, Montréal, Québec, Canada, 1995. Morgan Kaufmann Publishers, Inc., San Mateo, California, USA.
C. Bessière and J.-C. Régin. Refining the basic constraint propagation algorithm. In Proceedings of the 17 International Joint Conference on Artificial Intelligence (IJCAI’2001), pages 309–315, 2001.
P. Flajolet and R. Sedgewick. The average case analysis of algorithms: Mellin transform asymptotics. Technical Report Research Report 2956, INRIA, 1996.
J. Gaschnig. Experimental case studies of backtrack vs. Waltz-type vs. new algorithms for satisficing assignment problems. In Proceeding of the Second Biennial Conference, Canadian Society for the Computational Studies of Intelligence, pages 268–277, 1978.
I.P. Gent, E. MacIntyre, P. Prosser, P. Shaw, and T. Walsh. The constrainedness of arc consistency. In Proceedings of the Third International Conference on Principles and Practice of Constraint Programming (CP’1997), pages 327–340. Springer, 1997.
A.K. Mackworth. Consistency in networks of relations. Artificial Intelligence, 8:99–118, 1977.
A.K. Mackworth and E.C. Freuder. The complexity of some polynomial network consistency algorithms for constraint satisfaction problems. Artificial Intelligence, 25(1):65–73, 1985.
D. Sabin and E.C. Freuder. Contradicting conventional wisdom in constraint satisfaction. In A.G. Cohn, editor, Proceedings of the Eleventh European Conference on Artificial Intelligence (ECAI’94), pages 125–129. John Wiley & Sons, 1994.
M.R.C. van Dongen. Constraints, Varieties, and Algorithms. PhD thesis, Department of Computer Science, University College, Cork, Ireland, 2002.
M.R.C. van Dongen. AC-3d an efficient arc-consistency algorithm with a low space-complexity. Technical Report TR-01-2002, Cork Constraint Computation Centre, 2002.
M.R.C. van Dongen. AC-3d an efficient arc-consistency algorithm with a low space-complexity. In P. Van Hentenryck, editor, Proceedings of the Eighth International Conference on Principles and Practice of Constraint Programming (CP’2002), pages 755–760. Springer, 2002.
M.R.C. van Dongen and J.A. Bowen. Improving arc-consistency algorithms with double-support checks. In Proceedings of the Eleventh Irish Conference on Artificial Intelligence and Cognitive Science (AICS’2000), pages 140–149, 2000.
R.J. Wallace and E.C. Freuder. Ordering heuristics for arc consistency algorithms. In AI/GI/VI’ 92, pages 163–169, Vancouver, British Columbia, Canada, 1992.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
van Dongen, M.R.C. (2003). Domain-Heuristics for Arc-Consistency Algorithms. In: O’Sullivan, B. (eds) Recent Advances in Constraints. CologNet 2002. Lecture Notes in Computer Science, vol 2627. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36607-5_5
Download citation
DOI: https://doi.org/10.1007/3-540-36607-5_5
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00986-3
Online ISBN: 978-3-540-36607-2
eBook Packages: Springer Book Archive