Path-consistency: when space misses time

  • Authors:
  • Assef Chmeiss;Philippe Jégou

  • Affiliations:
  • LIM - URA CNRS, CMI, Université de Provence, Marseille Cedex 13, France;LIM - URA CNRS, CMI, Université de Provence, Marseille Cedex 13, France

  • Venue:
  • AAAI'96 Proceedings of the thirteenth national conference on Artificial intelligence - Volume 1
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

Within the framework of constraint programming, particulary concerning the Constraint Satisfaction Problems (CSPs), the techniques of preprocessing based on filtering algorithms were shown to be very important for the search phase. In particular, two filtering methods have been studied, these methods exploit two properties of local consistency: arc-and path-consistency. Concerning the arc-consistency methods, there is a linear time algorithm (in the size of the problem) which is efficient in practice (Bessière, Freuder, & Régin 1995). But the limitations of the arc-consistency algorithms requires often filtering methods with higher order like path-consistency filterings. The best path-consistency algorithm proposed is PC-6, a natural generalization of AC-6 (Bessière 1994) to path-consistency (Chmeiss & Jégou 1995)(Chmeiss 1996). Its time complexity is O(n3 d3) and its space complexity is O(n3 d2), where n is the number of variables and d is the size of domains. We have remarked that PC-6, though it is widely better than PC-4 (Han & Lee 1988), was not very efficient in practice, specialy for those classes of problems that require an important. space to be run. Therefore, we propose here a new path-consistency algorithm called PC-7, its space complexity is O(n2 d2) but its time complexity is O(n3 d4) i.e. worse than that of PC-6. However, the simplicity of PC-7 as well as the data structures used for its implementation offer really a higher performance than PC-6. Furthermore, it turns out that when the size of domains is a constant of the problems, the time complexity of PC-7 becomes, like PC-6, optimal i.e. O(n3).