>
Constraint Handling Rules

Constraint Handling Rules

  • £27.69
  • Save £18


Thom Frühwirth
Cambridge University Press, 7/9/2009
EAN 9780521877763, ISBN10: 0521877768

Hardcover, 320 pages, 24.7 x 17.4 x 2.2 cm
Language: English

Constraint Handling Rules (CHR) is both a theoretical formalism based on logic and a practical programming language based on rules. This book, written by the creator of CHR, describes the theory of CHR and how to use it in practice. It is supported by a website containing teaching materials, online demos, and free downloads of the language. After a basic tutorial, the author describes in detail the CHR language and discusses guaranteed properties of CHR programs. The author then compares CHR with other formalisms and languages and illustrates how it can capture their essential features. Finally, larger programs are introduced and analyzed in detail. The book is ideal for graduate students and lecturers, and for more experienced programmers and researchers, who can use it for self-study. Exercises with selected solutions, and bibliographic remarks are included at the ends of chapters. The book is the definitive reference on the subject.

Preface
Part I. CHR Tutorial
1. Getting started
2. My first CHR programs
Part II. The CHR Language
3. Syntax and semantics
4. Properties of CHR
5. Program analysis
6. Rule-based and graph-based formalisms in CHR
Part III. CHR Programs and Applications
7. My first CHR programs, revisited for analysis
8. Finite domain constraint solvers
9. Infinite domain constraint solvers
10. Union-find algorithm
Bibliography
List of figures
List of illustrations
Index.

'This is a great book illustrating both the simplicity and power of Constraint Handling Rules, the purest form of rule based programming I know.' Professor Peter J. Stuckey, University of Melbourne, and National ICT Australia