|
||||||||
| 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.Mapping
|
+--org.abora.white.spaces.basic.Dsp
|
+--org.abora.white.tumbler.SequenceMapping
Transforms a Sequence by shifting some amount, and then adding another Sequence to it.
| Field Summary | |
protected IntegerValue |
myShift
|
protected Sequence |
myTranslation
|
| Constructor Summary | |
SequenceMapping(IntegerValue shift,
Sequence translation)
|
|
SequenceMapping(Rcvr receiver)
|
|
| Method Summary | |
Dsp |
compose(Dsp dsp)
Return the composition of the two Dsps. |
CoordinateSpace |
coordinateSpace()
the coordinate space of the domain and range of the Dsp |
Mapping |
inverse()
Return the inverse of this transformation. |
Dsp |
inverseCompose(Dsp dsp)
Return the composition of my inverse with the other. |
Position |
inverseOf(Position position)
Since Dsps always represent a unique mapping in either direction, the permission to BLAST in the Mapping constract no longer applies. |
XnRegion |
inverseOfAll(XnRegion reg)
Inverse transform a region. |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
boolean |
isIdentity()
Says whether this Dsp maps every Position onto itself |
static SequenceMapping |
make(IntegerValue shift,
Sequence translation)
|
Dsp |
minus(Dsp dsp)
Return the difference of the two Dsps. |
Position |
of(Position position)
Since Dsps always represent a unique mapping in either direction, the permission to BLAST in the Mapping constract no longer applies. |
XnRegion |
ofAll(XnRegion reg)
If 'reg' is a simple region, then the result must also be simple |
void |
sendSelfTo(Xmtr xmtr)
|
IntegerValue |
shift()
The amount by which it shifts a sequence |
Sequence |
translation()
What it adds to a sequence after shifting it |
| Methods inherited from class org.abora.white.spaces.basic.Dsp |
appliedAfter, domain, fetchCombine, fetchDsp, isComplete, preCompose, range, rangeSpace, restrict, restrictRange, simpleMappings, simpleRegionMappings, transformedBy |
| Methods inherited from class org.abora.white.spaces.basic.Mapping |
actualHashForEqual, combine, domainSpace, info, inverseOfInt, make, make, make, ofInt, simplerMappings, unrestricted |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destroy, 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 IntegerValue myShift
protected Sequence myTranslation
| Constructor Detail |
public SequenceMapping(IntegerValue shift,
Sequence translation)
public SequenceMapping(Rcvr receiver)
| Method Detail |
public CoordinateSpace coordinateSpace()
Dsp
coordinateSpace in class Dsppublic boolean isIdentity()
Dsp
isIdentity in class Dsppublic IntegerValue shift()
public Sequence translation()
public Position inverseOf(Position position)
Dsp
inverseOf in class Dsppublic XnRegion inverseOfAll(XnRegion reg)
Dsp
inverseOfAll in class Dsppublic Position of(Position position)
Dsp
of in class Dsppublic XnRegion ofAll(XnRegion reg)
Dsp
ofAll in class Dsppublic Dsp compose(Dsp dsp)
compose in class Dsppublic Mapping inverse()
Dsp
inverse in class Dsppublic Dsp inverseCompose(Dsp dsp)
Dsp
inverseCompose in class Dsppublic Dsp minus(Dsp dsp)
Dsp
minus in class Dsppublic void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaper
public static SequenceMapping make(IntegerValue shift,
Sequence translation)
public boolean isEqual(Heaper other)
Heaper
isEqual in class Heaper
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||