|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjopt.csp.util.IntSet
jopt.csp.util.IntIntervalSet
jopt.js.spi.util.CPSIntIntervalSet
A "choice point-aware" extension of IntIntervalSet allowing "automatic" back-tracking
Constructor Summary | |
CPSIntIntervalSet()
|
Method Summary | |
jopt.csp.util.IntIntervalSet |
addGetDelta(int start,
int end)
Adds specified interval and records all changes that actually occur |
void |
afterChoicePointPopEvent()
|
void |
afterChoicePointPushEvent()
|
void |
beforeChoicePointPopEvent()
|
void |
beforeChoicePointPushEvent()
|
boolean |
choicePointStackSet()
|
void |
notifyIntervalAddition(int start,
int end)
|
void |
notifyIntervalRemoval(int start,
int end)
|
jopt.csp.util.IntIntervalSet |
removeAllGetDelta(jopt.csp.util.NumSet set)
Removes the specified set of values and records all changes that actually occur |
jopt.csp.util.IntIntervalSet |
removeEndingBeforeGetDelta(int val)
Removes anything ending before the specified val and records all changes that actually occur |
jopt.csp.util.IntIntervalSet |
removeGetDelta(int start,
int end)
Removes the specified interval and records all changes that actually occur |
jopt.csp.util.IntIntervalSet |
removeStartingAfterGetDelta(int val)
Removes anything starting after the specified val and records all changes that actually occur |
void |
setChoicePointStack(jopt.csp.spi.solver.ChoicePointStack cps)
|
void |
setMax(int max)
|
void |
setMin(int min)
|
Methods inherited from class jopt.csp.util.IntIntervalSet |
add, add, add, add, clear, clone, contains, equals, equals, getFirstIntervalIndex, getFreeIntervalsBetween, getIntervalEnd, getIntervalStart, getLastIntervalIndex, getListener, getMax, getMax, getMin, getMin, getNextHigher, getNextIntervalIndex, getNextLower, getPreviousIntervalIndex, indexOfValue, intersect, intervals, isEmpty, isIntervalContained, isIntervalEmpty, remove, remove, remove, removeEndingAt, removeStartingFrom, setListener, size, toString, values |
Methods inherited from class jopt.csp.util.IntSet |
addAll, removeAll, removeEndingBefore, removeStartingAfter, retainAll |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CPSIntIntervalSet()
Method Detail |
public void notifyIntervalAddition(int start, int end)
public void notifyIntervalRemoval(int start, int end)
public boolean choicePointStackSet()
choicePointStackSet
in interface jopt.csp.spi.solver.ChoicePointDataSource
public void setChoicePointStack(jopt.csp.spi.solver.ChoicePointStack cps)
setChoicePointStack
in interface jopt.csp.spi.solver.ChoicePointDataSource
public void beforeChoicePointPopEvent()
beforeChoicePointPopEvent
in interface jopt.csp.spi.solver.ChoicePointEntryListener
public void afterChoicePointPopEvent()
afterChoicePointPopEvent
in interface jopt.csp.spi.solver.ChoicePointEntryListener
public void beforeChoicePointPushEvent()
beforeChoicePointPushEvent
in interface jopt.csp.spi.solver.ChoicePointEntryListener
public void afterChoicePointPushEvent()
afterChoicePointPushEvent
in interface jopt.csp.spi.solver.ChoicePointEntryListener
public void setMin(int min)
public void setMax(int max)
public jopt.csp.util.IntIntervalSet removeGetDelta(int start, int end)
start
- start of intervalend
- end of interval
public jopt.csp.util.IntIntervalSet removeAllGetDelta(jopt.csp.util.NumSet set)
set
- set to be removed
public jopt.csp.util.IntIntervalSet removeEndingBeforeGetDelta(int val)
val
- new minimum value
public jopt.csp.util.IntIntervalSet removeStartingAfterGetDelta(int val)
val
- new maximum value
public jopt.csp.util.IntIntervalSet addGetDelta(int start, int end)
start
- start of interval to be addedend
- end of interval to be added
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |