2. Constraints in Prolog III
Here we look at the following constraint domains available in Prolog III: lists, rationals and Booleans.
The other area, that of trees, is covered in [1]. It should be noted, however, that the equational vision very early on led to the question: what is the solution, in terms of trees, of the equation X = f(1, X)? Prolog II already provided the answer: a rational infinite tree. This type of tree, which allows finite graphs to be represented as objects in their own right (first-class citizens), is still very much under wraps. But we're betting it won't stay that way.
The intensive use of lists led to the introduction of a specialized field.
The model is as follows.
Objects are of the form: <e1,...,en>
...
You do not have access to this resource.
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed?
Log in!
Ongoing reading
Constraints in Prolog III
Bibliography
In Engineering Techniques
-
(1) - BOIZUMAULT (P.) - Langage Prolog - . [], Technologies logicielles – Architectures des systèmes (2001).
Other references
-
(2) - COLMERAUER (A.) - An introduction to Prolog III - . Communications of the ACM, 33, 7 (1990).
- ...
Standardization
- Information Technology – Programming languages – Prolog – Part 1: General core. - ISO/CEI 15211-1 - 1995
- Information Technology – Programming languages – Prolog – Part 2: modules. - ISO/CEI 15211-2 - 2000
Software
(non-exhaustive list)
ILOG Solverhttp://www.ilog.com/products/solver
CHIP V5, COSYTEChttp://www.cosytec.com
Polog II + (compilateur)
Prolog IV (langage), PROLOGIAhttp://www.prologia.fr
GNU...
You do not have access to this resource.
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed?
Log in!