|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jopt.csp.spi.arcalgorithm.domain.AbstractDomain jopt.csp.spi.arcalgorithm.domain.BaseNumDomain
Base class for numeric domains
Method Summary | |
void |
clearDelta()
Clears the delta set for this domain |
abstract java.lang.Object |
clone()
Returns a copy of this domain |
jopt.csp.util.NumberIterator |
deltaValues()
Returns iterator of values in node's delta |
jopt.csp.util.NumSet |
getDeltaSet()
Returns the delta set for this domain |
java.lang.Object |
getDomainState()
Stores all necessary information for this domain allowing it to be restored to a previous state at a later point in time. |
int |
getSize()
Returns size of domain |
boolean |
isNestedChild()
Returns true if this domain is a nested child of a larger aggregate domain |
void |
restoreDomainState(java.lang.Object state)
Restores a domain to a previous state using the information contained in the state parameter. |
void |
setNestedChild(boolean nestedChild)
Sets a flag indicating this domain is a nested child domain of a larger aggregate domain |
jopt.csp.util.NumSet |
toSet()
Returns set of Numbers and NumIntervals representing domain |
java.lang.String |
toString()
|
jopt.csp.util.NumberIterator |
values()
Returns iterator of values in node's domain |
Methods inherited from class jopt.csp.spi.arcalgorithm.domain.AbstractDomain |
addDomainChangeListener, addRangeChangeListener, addValueChangeListener, changed, removeDomainChangeListener, removeRangeChangeListener, removeValueChangeListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jopt.csp.spi.solver.ChoicePointEntryListener |
afterChoicePointPopEvent, afterChoicePointPushEvent, beforeChoicePointPopEvent, beforeChoicePointPushEvent |
Methods inherited from interface jopt.csp.spi.arcalgorithm.domain.Domain |
isBound |
Methods inherited from interface jopt.csp.spi.solver.ChoicePointDataSource |
choicePointStackSet, setChoicePointStack |
Method Detail |
public boolean isNestedChild()
public void setNestedChild(boolean nestedChild)
public final int getSize()
public final jopt.csp.util.NumberIterator values()
public jopt.csp.util.NumberIterator deltaValues()
public final jopt.csp.util.NumSet toSet()
public final jopt.csp.util.NumSet getDeltaSet()
public final void clearDelta()
clearDelta
in interface Domain
public final java.lang.Object getDomainState()
getDomainState
in interface Domain
public final void restoreDomainState(java.lang.Object state)
restoreDomainState
in interface Domain
state
- The state information to which this domain should be setDomain.restoreDomainState(java.lang.Object)
public abstract java.lang.Object clone()
Domain
clone
in interface Domain
clone
in class AbstractDomain
public final java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |