Abstract This paper generalizes the arc-consistency algorithm of Mohr and Henderson [4] and the path-consistency algorithm of Han and Lee [2] to a k-consistency algorithm (arc-consistency and path-consistency being 2-consistency and 3-consistency, respectively). The algorithm is a development of Freuder's synthesis algorithm [1]. It simultaneously establishes i-consistency for each 1 ⩽ i ⩽ k. It has worst-case time and space complexity which is optimal when k is a constant and almost optimal for all other values of k. In the case that all order-i constraints exist for all 1 ⩽ i ⩽ n, this algorithm is a solution to the consistent labeling problem with almost optimal worst-case time and space complexity.
[1]
Alan K. Mackworth.
Consistency in Networks of Relations
,
1977,
Artif. Intell..
[2]
Eugene C. Freuder.
Synthesizing constraint expressions
,
1978,
CACM.
[3]
Chia-Hoang Lee,et al.
Comments on Mohr and Henderson's Path Consistency Algorithm
,
1988,
Artif. Intell..
[4]
Ugo Montanari,et al.
Networks of constraints: Fundamental properties and applications to picture processing
,
1974,
Inf. Sci..
[5]
Thomas C. Henderson,et al.
Arc and Path Consistency Revisited
,
1986,
Artif. Intell..