next up previous index
Next: Repair Up: Introduction Previous: Intervals   Index

Subsections

User-Defined Constraints

Generalised Propagation: propia

The predicate infers takes as one argument any user-defined predicate, and as a second argument a form of propagation to be applied to that predicate.

This functionality enables the user to turn any predicate into a constraint [16]. The forms of propagation include finite domains and intervals.

Constraint Handling Rules

The user can also specify predicates using rules with guards [9]. They delay until the guard is entailed or disentailed, and then execute or terminate accordingly.

This functionality enables the user to implement constraints in a way that is clearer than directly using the underlying suspend library.



Warwick Harvey
2004-08-07