|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelListener
IFS model listener.
Model
Method Summary | |
---|---|
void |
afterAssigned(long iteration,
Value value)
Called after a value is assigned to its variable ( Value.variable() ). |
void |
afterUnassigned(long iteration,
Value value)
Called after a value is unassigned from its variable ( Value.variable() ). |
void |
beforeAssigned(long iteration,
Value value)
Called before a value is assigned to its variable ( Value.variable() ). |
void |
beforeUnassigned(long iteration,
Value value)
Called before a value is unassigned from its variable ( Value.variable() ). |
void |
constraintAdded(Constraint constraint)
Constraint is added to the model |
void |
constraintRemoved(Constraint constraint)
Constraint is removed from the model |
boolean |
init(Solver solver)
Notification that the model was initialized by the solver. |
void |
variableAdded(Variable variable)
Variable is added to the model |
void |
variableRemoved(Variable variable)
Variable is removed from the model |
Method Detail |
---|
void variableAdded(Variable variable)
variable
- added variablevoid variableRemoved(Variable variable)
variable
- removed variablevoid constraintAdded(Constraint constraint)
constraint
- added constraintvoid constraintRemoved(Constraint constraint)
constraint
- removed constraintvoid beforeAssigned(long iteration, Value value)
Value.variable()
).
iteration
- current iterationvalue
- value to be assignedvoid beforeUnassigned(long iteration, Value value)
Value.variable()
).
iteration
- current iterationvalue
- value to be unassignedvoid afterAssigned(long iteration, Value value)
Value.variable()
).
iteration
- current iterationvalue
- value to be assignedvoid afterUnassigned(long iteration, Value value)
Value.variable()
).
iteration
- current iterationvalue
- value to be unassignedboolean init(Solver solver)
solver
- IFS solver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |