Proceedings

Why AC-3 is Almost Always Better than AC4 for Establishing Arc Consistency in CSPs

Download BibTeX Cite

Proceedings of the Thirteenth International Joint Conference on Artificial Intelligence. Constraint Satisfaction Problems. Pages 239-246.

© 1993 International Joint Conferences on Artificial Intelligence

Abstract

On the basis of its optimal asymptotic time complexity, AC-4 is often considered the best algorithm for establishing arc consistency in constraint satisfaction problems (CSPs). In the present work, AC3 was found to be much more efficient th~m AC-4, for CSPs with a variety of features. (Variable pairs were in lexical order, ~md in AC-3 they were added to the end of the list of pairs.) This is supported by arguments for the superiority of AC-3 over most of the nmge of constraint satisfiabilities ~md for the unlikelihood of conditions leading to worst-case perfonmmce. The efficiency of AC-4 is affected by the order of variable testing in Phase 1 ('setting up' phase); perform~mce in this phase can thus be enhanced, and this establishes initial conditions for Phase 2 that improve its performance. But, since AC-3 is improved by the smne orderings, it still outperforms AC-4 in most cases.

  1. [Dechter and Pearl, 1988] Dechter, R. and Pearl, J ., Network-based heuristics for constraint-satisfaction problems, Artif. lnte/1.34 (1988) 1-38.
  2. [Deville and Van Hentenryck, 1991] Deville, Y. and Van Hentenryck, P., An efficient arc consistency algorithm for a class of CSP problems, in: Proceedings /JCAI-91, Sydney (1991) 325-330. IJCAI
  3. Mackworth, 1977].
  4. A. Mackworth, Consistency in networks of relations, Artif.lntell. 8 (1977) 99-118. [Mackworth and Freuder, 1985].
  5. A. Mackworth and E. Freuder, The complexity of some polynomial network consistency algorithms for constraint satisfaction problems, Artif. lntell. 25 (1985) 65-74. Mohr and Henderson, 1986]
  6. Mohr, R. and T. C. Henderson, Arc and path consistency revisited, Artif. lntell. 28 (1986) 225-233.
  7. [Nadel, 1989] Nadel, B., Constraint satisfaction algorithms, Computational Intelligence 5 (1989) 188-224.
  8. [Perlin, 1991] Perlin, M., Arc consistency for factorable relations, in: Proc. IEEE Int. Conf. on Tools for AI, San Jose, CA (1991) 340-345.
  9. [Ullman, 1966] Ullman, J. R. Associating parts of patterns, Inform. Contr. 9 (1966) 583-601.
  10. [Van Hentenryck, 1989] Van Hentenryck, P., Constraint Satisfaction in Logic Programming, Cambridge, MA: MIT Press, 1989.
  11. [Wallace and Freuder, 1992] Wallace, R. J. and E. Freuder, Ordering heuristics for arc consistency algorithms, Proc . Ninth Canad. Conf on AI, Vancouver (1992) 163-169.
  12. [Waltz, 1975] Waltz, D. L., Understanding line drawings of scenes with shadows, in: The Psychology of Computer Vision, P. H. Winston, Ed. New York, NY: McGraw-Hill Book Company, 1975.
  13. [Williams and Hogg, 1992] Williams, C. P. and T. Hogg, Using deep structure to locate hard problems, in: Proceedings AAAJ-92 San Jose, CA (1992) 472-477.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards