|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.snarf.Abraham
|
+--org.abora.gold.traces.BranchDescription
Instances of subclasses describe the different kinds of paths in a traceDag. The
three kinds are root (no parent), tree (one parent) and dag (two parent) branches.
The dag caching routine chases up the dag finding the max of all paths. The special
case of chasing up the hierarchy is probably not worth the code.
At the moment, these never go away!!!!!!
| Field Summary | |
protected DagWood |
fulltrace
|
protected int |
lastPosition
|
protected BranchDescription |
myLeft
|
protected BranchDescription |
myRight
|
| Fields inherited from class org.abora.gold.snarf.Abraham |
DismantleStatistics, myHash, myInfo, myToken, TheTokenSource |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
BranchDescription(DagWood ft)
|
|
BranchDescription(Rcvr receiver)
|
|
| Method Summary | |
void |
addSuccessorsTo(MuSet set)
Add the first useable positions for all successor branches to the set. |
void |
cacheRecur(PrimIndexTable navCache)
recur toward the root filling in the cache. |
int |
contentsHash()
A hash of the contents of this flock |
TracePosition |
createAfter(BoundedTrace trace)
Return a new successor to the receiver. |
boolean |
doesInclude(int position,
TracePosition tracePos)
|
boolean |
equalsX(BranchDescription another)
|
void |
installBranch(BranchDescription branch)
Install branch as a descendant branch of myself. |
void |
installBranchAfter(BranchDescription branch,
TracePosition trace)
|
static Heaper |
make(DagWood fulltrace)
|
static Heaper |
make(DagWood fulltrace,
TracePosition parent)
|
static Heaper |
make(DagWood fulltrace,
TracePosition parent1,
TracePosition parent2)
|
BranchDescription |
makeBranch(TracePosition trace1,
TracePosition trace2)
Create a dag branch that succeeds both trace1 and trace2. |
TracePosition |
nextPosition()
Return the first available tracePosition on this branch. |
int |
ohashForEqual()
See the comment for isEqual:. |
boolean |
oisEqual(Heaper another)
^(another isKindOf: BranchDescription) and: [(another basicCast: BranchDescription) branchNum == myBranchNum] |
void |
printOn(java.io.PrintWriter aStream)
|
void |
sendSelfTo(Xmtr xmtr)
do nothing |
ImmuSet |
successorsOf(BoundedTrace trace)
|
| Methods inherited from class org.abora.gold.snarf.Abraham |
actualHashForEqual, becomeStub, cleanupGarbage, destroy, destruct, diskUpdate, dismantle, dismantleStatistics, fetchInfo, fetchShepherd, flockInfo, forget, getInfo, getShepherdStubCategory, initTimeNonInherited, isConstructed, isDestructed, isEqual, isKindOf, isPurgeable, isShepherd, isStub, isUnlocked, linkTimeNonInherited, newShepherd, remember, restartAbraham, restartAbraham, returnToken, staticTimeNonInherited, token |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int lastPosition
protected BranchDescription myLeft
protected BranchDescription myRight
protected DagWood fulltrace
| Constructor Detail |
public BranchDescription(DagWood ft)
public BranchDescription(Rcvr receiver)
| Method Detail |
public int contentsHash()
Abraham
contentsHash in class Abraham
public boolean doesInclude(int position,
TracePosition tracePos)
public void cacheRecur(PrimIndexTable navCache)
public void addSuccessorsTo(MuSet set)
public ImmuSet successorsOf(BoundedTrace trace)
public TracePosition createAfter(BoundedTrace trace)
public void installBranch(BranchDescription branch)
public void installBranchAfter(BranchDescription branch,
TracePosition trace)
public BranchDescription makeBranch(TracePosition trace1,
TracePosition trace2)
public TracePosition nextPosition()
public void printOn(java.io.PrintWriter aStream)
printOn in class Heaperpublic boolean equalsX(BranchDescription another)
public int ohashForEqual()
public boolean oisEqual(Heaper another)
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Abrahampublic static Heaper make(DagWood fulltrace)
public static Heaper make(DagWood fulltrace,
TracePosition parent)
public static Heaper make(DagWood fulltrace,
TracePosition parent1,
TracePosition parent2)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||