Saving Support-Checks Does Not Always Save Time

  • Authors:
  • M. R. C. Van Dongen

  • Affiliations:
  • Computer Science Department, Cork Constraint Computation Centre, University College Cork, Western Road, Cork, Ireland/ E-mail: dongen@cs.ucc.ie

  • Venue:
  • Artificial Intelligence Review
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Arc-consistency algorithms are the workhorse of backtrackers that maintain arc-consistency (MAC). This paper will provide experimental evidence that, despite common belief to the contrary, it is not always necessary for a good arc-consistency algorithm to have an optimal worst-case time-complexity. Sacrificing this optimality allows MAC solvers that (1) do not need additional data structures during search, (2) have an excellent average time-complexity, and (3) have a space-complexity that improves significantly on that of MAC solvers that have optimal arc-consistency components. Results will be presented from an experimental comparison between MAC-2001, MAC-3d and related algorithms. MAC-2001 has an arc-consistency component with an optimal worst-case time-complexity, whereas MAC-3d does not. MAC-2001 requires additional data structures during search, whereas MAC-3d does not. MAC-3d has a O(e+nd) of space-complexity, where n is the number of variables, d the maximum domain size, and e the number of constraints. We shall demonstrate that MAC-2001's space-complexity is O(edmin(n,d)). Our experimental results indicate that MAC-2001 was slower than MAC-3d for easy and hard random problems. For real-world problems things were not as clear.