Skip to main content

Domain-Heuristics for Arc-Consistency Algorithms

  • Conference paper
  • First Online:
Recent Advances in Constraints (CologNet 2002)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 2627))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Google Scholar 

  2. 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.

    Google Scholar 

  3. P. Flajolet and R. Sedgewick. The average case analysis of algorithms: Mellin transform asymptotics. Technical Report Research Report 2956, INRIA, 1996.

    Google Scholar 

  4. 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.

    Google Scholar 

  5. 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.

    Google Scholar 

  6. A.K. Mackworth. Consistency in networks of relations. Artificial Intelligence, 8:99–118, 1977.

    Article  MATH  Google Scholar 

  7. 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.

    Article  Google Scholar 

  8. 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.

    Google Scholar 

  9. M.R.C. van Dongen. Constraints, Varieties, and Algorithms. PhD thesis, Department of Computer Science, University College, Cork, Ireland, 2002.

    Google Scholar 

  10. 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.

    Google Scholar 

  11. 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.

    Google Scholar 

  12. 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.

    Google Scholar 

  13. 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.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics