|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addedToGraph()
Indicates to node when it is added to a graph |
boolean |
choicePointStackSet()
Returns true if a call to setChoicePointStack will fail |
void |
clearDelta()
Clears the delta set for this node's domain |
java.lang.String |
getName()
Returns name of node |
int |
getSize()
Returns size of domain for this node. |
boolean |
inGraph()
Returns true if a node is connected to a graph |
boolean |
isBound()
Returns true if domain for this node is bound |
boolean |
isInDomain(java.lang.Object val)
Returns true if a value is contained in this node's domain |
void |
removedFromGraph()
Indicates to node when it is disconnected from a graph |
void |
setChoicePointStack(ChoicePointStack cps)
Sets the choicepoint stack associated with this graph Can only be set once |
void |
setName(java.lang.String name)
Sets name of node |
Methods inherited from interface jopt.csp.spi.util.Storable |
getState, restoreState |
Method Detail |
public java.lang.String getName()
getName
in interface Storable
public void setName(java.lang.String name)
public boolean isBound()
public boolean isInDomain(java.lang.Object val)
public int getSize()
public void clearDelta()
public void setChoicePointStack(ChoicePointStack cps)
setChoicePointStack
in interface ChoicePointDataSource
public boolean choicePointStackSet()
choicePointStackSet
in interface ChoicePointDataSource
public boolean inGraph()
public void addedToGraph()
public void removedFromGraph()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |