|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VarHandler
Common interface to all objects that can handle one or more variables of the network flow constraint.
| Method Summary | |
|---|---|
int |
getPruningEvent(Var variable)
Retrieves the consistency pruning event of a handler variable that causes the handler to be reevaluated. |
java.util.List<IntVar> |
listVariables()
|
void |
processEvent(IntVar variable,
MutableNetwork network)
Informs the handler that one of its variable has changed and asks the handler to update the state of the network accordingly. |
| Method Detail |
|---|
java.util.List<IntVar> listVariables()
int getPruningEvent(Var variable)
variable - a handler variable
void processEvent(IntVar variable,
MutableNetwork network)
variable - the variable that changednetwork - the network
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||