|
||||||||
| 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.spaces.basic.XnRegion
|
+--org.abora.white.tumbler.RealRegion
| Field Summary | |
protected boolean |
myStartsInside
|
protected PrimIntegerArray |
myTransitionFlags
|
protected PrimFloatArray |
myTransitionVals
|
protected static RealManager |
TheManager
|
| Constructor Summary | |
RealRegion(boolean startsInside,
PrimFloatArray vals,
PrimIntegerArray flags)
|
|
RealRegion(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
Defined by subclasses to produce the value returned by hashForEqual. |
Stepper |
actualStepper(OrderSpec order)
Only called if I've already said I'm enumerable in the originally stated order. |
XnRegion |
asSimpleRegion()
Return a simple region containing all positions contained by myself. |
XnRegion |
complement()
Essential. |
CoordinateSpace |
coordinateSpace()
Essential. |
IntegerValue |
count()
How many positions do I contain? If I am not 'isFinite', then this message will BLAST. |
ScruSet |
distinctions()
Break it up into a set of non-full distinctions. |
boolean |
hasMember(Position position)
Do I contain this position? More than anything else, the behavior of this message is the defining characteristic of an XuRegion. |
static void |
info()
{Stepper CLIENT of: RealRegion} intervals: order {OrderSpec default: NULL} {BooleanVar CLIENT} isBoundedAbove {BooleanVar CLIENT} isBoundedBelow {BooleanVar CLIENT} isInterval {XuReal CLIENT} lowerBound {XuReal CLIENT} upperBound |
XnRegion |
intersect(XnRegion other)
Essential. |
Stepper |
intervals()
|
Stepper |
intervals(OrderSpec order)
Essential. |
boolean |
isBoundedAbove()
Same meaning as IntegerRegion::isBoundedAbove |
boolean |
isBoundedBelow()
Same meaning as IntegerRegion::isBoundedBelow |
boolean |
isEmpty()
Every coordinate space has exactly one empty region. |
boolean |
isEnumerable(OrderSpec order)
Any representable infinite set of real numbers is also not enumerable |
boolean |
isEqual(Heaper other)
Two regions are equal iff they contain exactly the same set of positions |
boolean |
isFinite()
Essential. |
boolean |
isFull()
true if this is the largest possible region in this space -- the region that contains all positions in the space. |
boolean |
isInterval()
Whether this Region is a non-empty interval, i.e. |
boolean |
isSimple()
Am I a simple region. |
boolean |
isSubsetOf(XnRegion other)
I'm a subset of other if I don't have any positions that he doesn't. |
RealPos |
lowerBound()
The largest real number such that all the positions in the region are >= it. |
static RealRegion |
make(boolean startsInside,
PrimArray transitions)
Make a new region, reusing the given array. |
void |
printOn(java.io.PrintWriter oo)
This should rarely be overridden. |
PtrArray |
secretTransitions()
|
void |
sendSelfTo(Xmtr xmtr)
|
Stepper |
simpleRegions(OrderSpec order)
Break myself up into a finite set of non-empty simple regions which, when unionWith'ed together will yield me. |
XnRegion |
simpleUnion(XnRegion other)
The result must contain all positions contained by either of the two original regions, and the result must be simple. |
boolean |
startsInside()
|
Stepper |
stepper(OrderSpec order)
Essential. |
XnRegion |
unionWith(XnRegion other)
The result has as members exactly those positions which are members of either of the original two regions. |
RealPos |
upperBound()
The smallest real number such that all the positions in the region are <= it. |
static RealRegion |
usingx(boolean startsInside,
PrimFloatArray vals,
PrimIntegerArray flags)
|
| Methods inherited from class org.abora.white.spaces.basic.XnRegion |
chooseMany, chooseMany, chooseOne, chooseOne, delta, disjointSimpleRegions, disjointSimpleRegions, immuSet, intersects, isDistinction, isEnumerable, minus, simpleRegions, stepper, theOne, with, without |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destroy, destruct, equals, hashForEqual, printContentsOn, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean myStartsInside
protected PrimFloatArray myTransitionVals
protected PrimIntegerArray myTransitionFlags
protected static RealManager TheManager
| Constructor Detail |
public RealRegion(boolean startsInside,
PrimFloatArray vals,
PrimIntegerArray flags)
public RealRegion(Rcvr receiver)
| Method Detail |
public IntegerValue count()
XnRegion
count in class XnRegionpublic ScruSet distinctions()
XnRegion
distinctions in class XnRegionpublic Stepper intervals(OrderSpec order)
public boolean isInterval()
public Stepper simpleRegions(OrderSpec order)
XnRegion
simpleRegions in class XnRegionpublic Stepper stepper(OrderSpec order)
XnRegion
stepper in class XnRegionpublic Stepper actualStepper(OrderSpec order)
XnRegion
actualStepper in class XnRegionpublic int actualHashForEqual()
Heaper
actualHashForEqual in class XnRegionpublic boolean hasMember(Position position)
XnRegion
hasMember in class XnRegionpublic boolean isBoundedAbove()
public boolean isBoundedBelow()
public boolean isEmpty()
XnRegion
isEmpty in class XnRegionpublic boolean isEnumerable(OrderSpec order)
isEnumerable in class XnRegionpublic boolean isEqual(Heaper other)
XnRegion
isEqual in class XnRegionpublic boolean isFinite()
XnRegion
isFinite in class XnRegionpublic boolean isFull()
XnRegion
isFull in class XnRegionpublic boolean isSimple()
XnRegion
isSimple in class XnRegionpublic boolean isSubsetOf(XnRegion other)
XnRegion
isSubsetOf in class XnRegionpublic XnRegion complement()
XnRegion
complement in class XnRegionpublic XnRegion intersect(XnRegion other)
XnRegion
intersect in class XnRegionpublic XnRegion simpleUnion(XnRegion other)
XnRegiona->simpleUnion(b) satisfies the same specification
as (a->unionWith(b))->asSimpleRegion(). However, the two results do
not have to be the same region.
simpleUnion in class XnRegionpublic XnRegion unionWith(XnRegion other)
XnRegion
unionWith in class XnRegionpublic PtrArray secretTransitions()
public boolean startsInside()
public void printOn(java.io.PrintWriter oo)
Heaper
printOn in class Heaperpublic XnRegion asSimpleRegion()
XnRegion
asSimpleRegion in class XnRegionpublic CoordinateSpace coordinateSpace()
XnRegion
coordinateSpace in class XnRegionpublic RealPos lowerBound()
public RealPos upperBound()
public Stepper intervals()
public void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaper
public static RealRegion make(boolean startsInside,
PrimArray transitions)
public static RealRegion usingx(boolean startsInside,
PrimFloatArray vals,
PrimIntegerArray flags)
public static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||