|
||||||||
| 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.edgeregion.EdgeAccumulator
| Field Summary | |
protected PtrArray |
myEdges
|
protected int |
myIndex
|
protected EdgeManager |
myManager
|
protected TransitionEdge |
myPending
|
protected boolean |
myResultGiven
|
protected boolean |
myStartsInside
|
protected static InstanceCache |
SomeAccumulators
|
| Constructor Summary | |
EdgeAccumulator(EdgeManager manager,
boolean startsInside)
|
|
EdgeAccumulator(EdgeManager manager,
boolean startsInside,
PtrArray edges,
int index,
TransitionEdge pending)
|
|
EdgeAccumulator(Rcvr receiver)
|
|
| 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(TransitionEdge x)
add a transition at the given position. |
void |
edges(EdgeStepper stepper)
add a whole bunch of edges at once, assuming that they are sorted and there are no duplicates |
static EdgeAccumulator |
make(EdgeManager manager,
boolean startsInside)
|
XnRegion |
region()
make a region out of the accumulated edges |
void |
restartEdgeAccumulator(Rcvr rcvr)
|
void |
sendSelfTo(Xmtr xmtr)
|
void |
step(Heaper someObj)
Accumulate a new object into the Accumulator |
void |
storeStep(TransitionEdge edge)
Just store an edge into the array and increment the count |
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, printOn, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected EdgeManager myManager
protected boolean myStartsInside
protected PtrArray myEdges
protected int myIndex
protected TransitionEdge myPending
protected boolean myResultGiven
protected static InstanceCache SomeAccumulators
| Constructor Detail |
public EdgeAccumulator(EdgeManager manager,
boolean startsInside)
public EdgeAccumulator(EdgeManager manager,
boolean startsInside,
PtrArray edges,
int index,
TransitionEdge pending)
public EdgeAccumulator(Rcvr receiver)
| 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 edge(TransitionEdge x)
public void edges(EdgeStepper stepper)
public XnRegion region()
public void storeStep(TransitionEdge edge)
public void restartEdgeAccumulator(Rcvr rcvr)
public void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaper
public static EdgeAccumulator make(EdgeManager manager,
boolean startsInside)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||