Constraint logic programming lies at the intersection of logic programming, optimisation and artificial intelligence. It has proved a successful tool in many areas including production planning, transportation scheduling, numerical analysis and bioinformatics. Eclipse is one of the leading software systems that realise its underlying methodology. Eclipse is exploited commercially by Cisco, and is freely available and used for teaching and research in over 500 universities. This book has a two-fold purpose. It's an introduction to constraint programming, appropriate for one-semester courses for upper undergraduate or graduate students in computer science or for programmers wishing to master the practical aspects of constraint programming. By the end of the book, the reader will be able to understand and write constraint programs that solve complex problems. Second, it provides a systematic introduction to the Eclipse system through carefully-chosen examples that guide the reader through the language and illustrate its power, versatility and utility.Exercise 7.4 ( count(I, K, L) do Body ) is equivalent to ( L1 is L+1, fromto(K, I, M, L1) do M is I+1, Body ). Exercise 8.1 ... Exercise 8.3 Here is one possible solution. naive_search2(Vars, Vals) :- ( foreach(V, Vars), count(Indent, 0, _), param(Vals) do anbsp;...

Title | : | Constraint Logic Programming using Eclipse |

Author | : | Krzysztof R. Apt, Mark Wallace |

Publisher | : | Cambridge University Press - 2006-12-21 |

Continue