|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDomainConstraint
| Method Summary | |
|---|---|
boolean |
addConstraint(IConstraint constraint)
Add a new constraint. |
IConstraint[] |
constraints()
The constraints currently in the domain. |
int |
nConstraints()
The number of constraints currently in the domain. |
boolean |
removeConstraint(IConstraint constraint)
Remove a constraint. |
void |
reset()
Remove all the constraints. |
| Method Detail |
|---|
boolean addConstraint(IConstraint constraint)
constraint - The constraint to be added.
true if the constraint was added succesfully.
false otherwise.boolean removeConstraint(IConstraint constraint)
constraint - The constraint to be removed.
true if the constraint was removed succesfully.
false otherwise.IConstraint[] constraints()
int nConstraints()
void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||