|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConstraintListener
IFS constraint listener.
Constraint| Method Summary | |
|---|---|
void |
constraintAfterAssigned(long iteration,
Constraint constraint,
Value assigned,
Set unassigned)
Called by the constraint, after a value is assigned to its variable. |
void |
constraintBeforeAssigned(long iteration,
Constraint constraint,
Value assigned,
Set unassigned)
Called by the constraint, before a value is assigned to its variable. |
| Method Detail |
|---|
void constraintBeforeAssigned(long iteration,
Constraint constraint,
Value assigned,
Set unassigned)
iteration - current iterationconstraint - source constraintassigned - value which will be assigned to its variable (Value.variable())unassigned - set of conflicting values which will be unassigned by the constraint before it assigns the given value
void constraintAfterAssigned(long iteration,
Constraint constraint,
Value assigned,
Set unassigned)
iteration - current iterationconstraint - source constraintassigned - value which was assigned to its variable (Value.variable())unassigned - set of conflicting values which were unassigned by the constraint before it assigned the given value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||