|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjopt.csp.spi.arcalgorithm.domain.AbstractDomain
jopt.csp.spi.arcalgorithm.domain.BaseNumDomain
jopt.csp.spi.arcalgorithm.domain.BaseDoubleDomain
jopt.csp.spi.arcalgorithm.domain.DoubleIntervalDomain
Double domain that stores data in interval objects
| Constructor Summary | |
DoubleIntervalDomain(double min,
double max)
Constructor |
|
| Method Summary | |
void |
afterChoicePointPopEvent()
Indicates that the current choice point has been rolled back and domain data must be reset |
void |
afterChoicePointPushEvent()
Indicates that current choice point has been updated and domain data must be restored |
void |
beforeChoicePointPopEvent()
Indicates that the current choice point is about to be rolled back and domain data must be reset |
void |
beforeChoicePointPushEvent()
Indicates that current choice point is about to be pushed to allow data to be recorded in stack |
boolean |
choicePointStackSet()
Returns true if a call to setChoicePointStack will fail |
java.lang.Object |
clone()
Returns a copy of this domain |
void |
intervalAdded(int callback,
double start,
double end)
|
void |
intervalRemoved(int callback,
double start,
double end)
|
void |
setChoicePointStack(ChoicePointStack cps)
Sets the choicepoint stack associated with this domain. |
| Methods inherited from class jopt.csp.spi.arcalgorithm.domain.BaseDoubleDomain |
dump, getMax, getMin, getNextHigher, getNextLower, getPrecision, isBound, isInDomain, removeDomain, removeRange, removeValue, setDomain, setMax, setMin, setPrecision, setRange, setValue |
| Methods inherited from class jopt.csp.spi.arcalgorithm.domain.BaseNumDomain |
clearDelta, deltaValues, getDeltaSet, getDomainState, getSize, isNestedChild, restoreDomainState, setNestedChild, toSet, toString, values |
| 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.arcalgorithm.domain.NumDomain |
deltaValues, getDeltaSet, getSize, toSet, values |
| Methods inherited from interface jopt.csp.spi.arcalgorithm.domain.Domain |
changed, clearDelta, getDomainState, restoreDomainState |
| Constructor Detail |
public DoubleIntervalDomain(double min,
double max)
| Method Detail |
public void intervalAdded(int callback,
double start,
double end)
intervalAdded in interface jopt.csp.util.DoubleIntervalSetListener
public void intervalRemoved(int callback,
double start,
double end)
intervalRemoved in interface jopt.csp.util.DoubleIntervalSetListenerpublic java.lang.Object clone()
Domain
clone in interface Domainclone in class BaseNumDomainpublic final void setChoicePointStack(ChoicePointStack cps)
setChoicePointStack in interface ChoicePointDataSourcepublic final boolean choicePointStackSet()
choicePointStackSet in interface ChoicePointDataSourcepublic final void beforeChoicePointPopEvent()
ChoicePointEntryListener
beforeChoicePointPopEvent in interface ChoicePointEntryListenerpublic void afterChoicePointPopEvent()
ChoicePointEntryListener
afterChoicePointPopEvent in interface ChoicePointEntryListenerpublic final void beforeChoicePointPushEvent()
ChoicePointEntryListener
beforeChoicePointPushEvent in interface ChoicePointEntryListenerpublic final void afterChoicePointPushEvent()
ChoicePointEntryListener
afterChoicePointPushEvent in interface ChoicePointEntryListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||