org.abora.white.cross
Class CrossMapping

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.spaces.basic.Mapping
              |
              +--org.abora.white.spaces.basic.Dsp
                    |
                    +--org.abora.white.cross.CrossMapping
Direct Known Subclasses:
GenericCrossDsp

public abstract class CrossMapping
extends Dsp

All other crossed mappings must be gotten by factoring the non-dsp aspects out into the generic non-dsp mapping objects. This class represents what remains after the factoring.


Constructor Summary
protected CrossMapping()
           
protected CrossMapping(Rcvr rcvr)
           
 
Method Summary
abstract  Dsp compose(Dsp other)
          Return the composition of the two Dsps.
abstract  CoordinateSpace coordinateSpace()
          the coordinate space of the domain and range of the Dsp
static void info()
          {Dsp CLIENT} subMapping: index {Int32} {PtrArray CLIENT of: Dsp} subMappings
abstract  Mapping inverse()
          Return the inverse of this transformation.
abstract  boolean isIdentity()
          Says whether this Dsp maps every Position onto itself
static CrossMapping make(CrossSpace space)
           
static CrossMapping make(CrossSpace space, PtrArray subDsps)
           
abstract  Dsp minus(Dsp other)
          Return the difference of the two Dsps.
abstract  XnRegion ofAll(XnRegion reg)
          If 'reg' is a simple region, then the result must also be simple
abstract  Dsp subMapping(int index)
          The Dsp applied to Positions in the given subspace.
abstract  PtrArray subMappings()
          The Mappings applied to Positions in each of the subspaces.
 
Methods inherited from class org.abora.white.spaces.basic.Dsp
appliedAfter, domain, fetchCombine, fetchDsp, inverseCompose, inverseOf, inverseOfAll, isComplete, of, preCompose, range, rangeSpace, restrict, restrictRange, simpleMappings, simpleRegionMappings, transformedBy
 
Methods inherited from class org.abora.white.spaces.basic.Mapping
actualHashForEqual, combine, domainSpace, inverseOfInt, make, make, make, ofInt, simplerMappings, unrestricted
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
destroy, destruct, equals, hashForEqual, isEqual, printContentsOn, printOn, sendSelfTo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrossMapping

protected CrossMapping()

CrossMapping

protected CrossMapping(Rcvr rcvr)
Method Detail

ofAll

public abstract XnRegion ofAll(XnRegion reg)
Description copied from class: Dsp
If 'reg' is a simple region, then the result must also be simple

Specified by:
ofAll in class Dsp

compose

public abstract Dsp compose(Dsp other)
Description copied from class: Dsp
Return the composition of the two Dsps. Two Dsps of the same space are always composable. (a->compose(b) ->minus(b))->isEqual (a) (a->compose(b) ->of(pos))->isEqual (a->of (b->of (pos))

Specified by:
compose in class Dsp

inverse

public abstract Mapping inverse()
Description copied from class: Dsp
Return the inverse of this transformation. Considering the Dsp as a set of pairs (see class comment), return the Dsp which has the mirror image of all my pairs.

Specified by:
inverse in class Dsp

minus

public abstract Dsp minus(Dsp other)
Description copied from class: Dsp
Return the difference of the two Dsps. (a->compose(b) ->minus(b))->isEqual (a)

Specified by:
minus in class Dsp

coordinateSpace

public abstract CoordinateSpace coordinateSpace()
Description copied from class: Dsp
the coordinate space of the domain and range of the Dsp

Specified by:
coordinateSpace in class Dsp

isIdentity

public abstract boolean isIdentity()
Description copied from class: Dsp
Says whether this Dsp maps every Position onto itself

Specified by:
isIdentity in class Dsp

subMapping

public abstract Dsp subMapping(int index)
The Dsp applied to Positions in the given subspace.


subMappings

public abstract PtrArray subMappings()
The Mappings applied to Positions in each of the subspaces. Each of these is already simple enough that it is either the identityMapping or a visible subclass like IntegerMapping.


make

public static CrossMapping make(CrossSpace space,
                                PtrArray subDsps)

make

public static CrossMapping make(CrossSpace space)

info

public static void info()
{Dsp CLIENT} subMapping: index {Int32} {PtrArray CLIENT of: Dsp} subMappings



Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.