|
||||||||
| 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.filter.Joint
Joints are used to prune searches through trees of Regions. Each Joint summarizes the
Joints and Regions at its node and its children using their intersection and union. If you
maintain this information at each each node in the tree, then you can search for Regions
in the tree efficiently using Filter::pass() to adapt the search criteria to the contents
of the subtree. See also Filter::pass(Joint *).
| Field Summary | |
protected XnRegion |
myIntersected
|
protected XnRegion |
myUnioned
|
| 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 | |
Joint(Rcvr receiver)
|
|
Joint(XnRegion unioned,
XnRegion intersected)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
XnRegion |
intersected()
The intersection of the regions at all child nodes in the tree. |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
Joint |
join(Joint other)
A Joint that is a parent of this Joint and the given one. |
static Heaper |
make(CoordinateSpace space)
An empty Joint in the given coordinate space. |
static Heaper |
make(Joint left,
Joint right)
A joint that is a parent of the two given Joints. |
static Heaper |
make(java.lang.Object something)
|
static Heaper |
make(java.lang.Object something,
java.lang.Object other)
|
static Heaper |
make(ScruSet subs)
A Joint that is a parent of all of the Joints in the set. |
static Heaper |
make(XnRegion both)
A Joint containing only the given region. |
static Heaper |
make(XnRegion unioned,
XnRegion intersected)
A Joint with the given union and intersection regions. |
void |
printOn(java.io.PrintWriter oo)
|
void |
sendSelfTo(Xmtr xmtr)
do nothing |
XnRegion |
unioned()
The union of the regions at all child nodes in the tree. |
Joint |
with(XnRegion region)
A Joint that is a parent of this one and the given region. |
| 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 XnRegion myUnioned
protected XnRegion myIntersected
| Constructor Detail |
public Joint(XnRegion unioned,
XnRegion intersected)
public Joint(Rcvr receiver)
| Method Detail |
public void printOn(java.io.PrintWriter oo)
printOn in class Heaperpublic XnRegion intersected()
public Joint join(Joint other)
public XnRegion unioned()
public Joint with(XnRegion region)
public int actualHashForEqual()
actualHashForEqual in class Heaperpublic boolean isEqual(Heaper other)
Heaper
isEqual in class Heaperpublic void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Heaperpublic static Heaper make(CoordinateSpace space)
public static Heaper make(Joint left,
Joint right)
public static Heaper make(ScruSet subs)
public static Heaper make(XnRegion both)
public static Heaper make(XnRegion unioned,
XnRegion intersected)
public static Heaper make(java.lang.Object something)
public static Heaper make(java.lang.Object something,
java.lang.Object other)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||