|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.collection.steppers.Accumulator
|
+--org.abora.white.spaces.integers.IntegerEdgeAccumulator
| Field Summary | |
protected boolean |
havePending
|
protected IntegerVarArray |
myEdges
|
protected int |
myIndex
|
protected IntegerValue |
myPending
|
protected boolean |
myStartsInside
|
protected static InstanceCache |
SomeAccumulators
|
| Constructor Summary | |
IntegerEdgeAccumulator(boolean startsInside,
int count)
|
|
IntegerEdgeAccumulator(boolean startsInside,
IntegerVarArray edges,
int index,
boolean hasPending,
IntegerValue pending)
|
|
| Method Summary | |
Accumulator |
copy()
Return a new Accumulator just like the current one, except that from now on they accumulate separately |
void |
destroy()
|
void |
edge(IntegerValue x)
add a transition at the given position. |
void |
edges(IntegerEdgeStepper stepper)
add a whole bunch of edges at once, assuming that they are sorted and there are no duplicates |
static IntegerEdgeAccumulator |
make(boolean startsInside,
int count)
|
void |
printOn(java.io.PrintWriter oo)
This should rarely be overridden. |
IntegerRegion |
region()
make a region out of the accumulated edges |
void |
step(Heaper someObj)
Accumulate a new object into the Accumulator |
Heaper |
value()
Return the object that results from accumulating all those objects |
| Methods inherited from class org.abora.white.collection.steppers.Accumulator |
actualHashForEqual, isEqual, ptrArray |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destruct, equals, hashForEqual, printContentsOn, sendSelfTo, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean myStartsInside
protected IntegerVarArray myEdges
protected int myIndex
protected boolean havePending
protected IntegerValue myPending
protected static InstanceCache SomeAccumulators
| Constructor Detail |
public IntegerEdgeAccumulator(boolean startsInside,
int count)
public IntegerEdgeAccumulator(boolean startsInside,
IntegerVarArray edges,
int index,
boolean hasPending,
IntegerValue pending)
| Method Detail |
public Accumulator copy()
Accumulator
copy in class Accumulatorpublic void destroy()
destroy in class Heaperpublic void step(Heaper someObj)
Accumulator
step in class Accumulatorpublic Heaper value()
Accumulator
value in class Accumulatorpublic void printOn(java.io.PrintWriter oo)
Heaper
printOn in class Heaperpublic void edge(IntegerValue x)
public void edges(IntegerEdgeStepper stepper)
public IntegerRegion region()
public static IntegerEdgeAccumulator make(boolean startsInside,
int count)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||