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 L, uses a lexicographical heuristic. The second algorithm, called 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 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. D requires an average number of support-checks which is below 2 max(a, b) + 2 if a + b ≥ 14. Our results demonstrate that D is the superior algorithm. Finally, we will provide the result that on average D requires strictly fewer than two checks more than any other algorithm if a + b ≥ 14.
[1]
Toby Walsh,et al.
The Constrainedness of Arc Consistency
,
1997,
CP.
[2]
Eugene C. Freuder,et al.
Ordering Heuristics for Arc Consistency Algorithms
,
1992
.
[3]
Philippe Flajolet,et al.
The Average Case Analysis of Algorithms: Mellin Transform Asymptotics
,
1996
.
[4]
Alan K. Mackworth.
Consistency in Networks of Relations
,
1977,
Artif. Intell..
[5]
Eugene C. Freuder,et al.
Contradicting Conventional Wisdom in Constraint Satisfaction
,
1994,
ECAI.
[6]
M. R. C. van Dongen,et al.
Improving Arc-Consistency Algorithms with Double-Support Checks
,
2000
.
[7]
Marc R. C. van Dongen,et al.
AC-3d an Efficient Arc-Consistency Algorithm with a Low Space-Complexity
,
2002,
CP.
[8]
Eugene C. Freuder,et al.
The Complexity of Some Polynomial Network Consistency Algorithms for Constraint Satisfaction Problems
,
1985,
Artif. Intell..
[9]
Christian Bessiere,et al.
Using Inference to Reduce Arc Consistency Computation
,
1995,
IJCAI.
[10]
Christian Bessiere,et al.
Refining the Basic Constraint Propagation Algorithm
,
2001,
JFPLC.
[11]
M. R. C. van Dongen,et al.
Constraints, Varieties, and Algorithms
,
2002
.