LIP6 1997/029: Rapport de Recherche
LIP6 /
LIP6 research
reports
29 pages - Novembre/November 1997 -
Document en anglais.
PostScript : 46 Ko /Kb
Contact : par mail / e-mail
Thème/Team: Systèmes d'Aide à la Décision et à la Formation
Titre français : Programmation par contraintes en CLIPS
Titre anglais : Constraint Programming within CLIPS
Abstract : CCP (CLIPS Constraint Programming) is a generic knowledge base which enables CLIPS to solve CSPs (Constraint Satisfaction Problems). CCP is composed of three modules. The MAIN module contains the top level loop including the I/O rules. The SEARCH module implements a classical Chronological Backtrack algorithm. The PROPAGATION module implements the Forward Checking algorithm. CCP has been extensively tested with well known puzzles as N-queens, graph colouring, crosswords, etc. To implement any particular problem, the users only need to declare each variable with its domain and they have to define specific domain description and rules of propagation. So that all specific knowledge is encapsulated in the PROPAGATION module. CCP is a generic tool that can be embedded in a knowledge based system like a work horse for local CSPs solving. CCP is compact, since it contains only a dozen rules. Moreover, CCP can be seen as a pedagogical tool illustrating many advanced features of CLIPS (logical dependencies, forall, exists conditional elements, the built function and a control strategy based on the focus stack).
Key-words : constraints, CLIPS, CCP, CSP
Publications internes LIP6 1997 / LIP6 research reports 1997