Next: Debugging Constraint Programs
Up: The Finite Domains Library
Previous: Search Methods
  Index
The library fd_domain.pl contains output macros which
cause an fd attribute as well as a domain to be printed
as lists that represent the domain values.
A domain variable is an attributed variable whose fd attribute
has a print handler which prints it in the same format.
For instance,
[eclipse 4]: X::1..10, dvar_attribute(X, A), A = fd with domain:D.
X = X{[1..10]}
D = [1..10]
A = [1..10]
yes.
[eclipse 5]: A::1..10, printf("%mw", A).
A{[1..10]}
A = A{[1..10]}
yes.
Warwick Harvey
2004-08-07