edu.unh.sdb.lattice
Class Partitioning

java.lang.Object
  extended by edu.unh.sdb.lattice.Partitioning
Direct Known Subclasses:
RegularCellPartitioning, RegularPartitioning

public abstract class Partitioning
extends java.lang.Object

A partitioning provides a mapping between an N-Dimensional geometric (real) space and an integer Index Space.


Field Summary
protected  int dimensionality
           
 
Constructor Summary
Partitioning(ISBounds indexBounds, GBounds geomBounds)
           
 
Method Summary
 int dim()
           
 GBounds getGBounds()
           
 ISBounds getISBounds()
           
 ISIterator getISIterator()
           
abstract  GBoundsIterator getPartitionIterator()
           
abstract  ISBounds map(GBounds b)
           
abstract  IndexSpaceID map(Point p)
           
 java.lang.String toString()
          Return a String representing the object.
 java.lang.String toString(java.lang.String indent)
          Return a String representing the object indented by the argument string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dimensionality

protected int dimensionality
Constructor Detail

Partitioning

public Partitioning(ISBounds indexBounds,
                    GBounds geomBounds)
Method Detail

dim

public final int dim()

getISBounds

public ISBounds getISBounds()

getGBounds

public GBounds getGBounds()

getPartitionIterator

public abstract GBoundsIterator getPartitionIterator()

getISIterator

public ISIterator getISIterator()

map

public abstract IndexSpaceID map(Point p)

map

public abstract ISBounds map(GBounds b)

toString

public java.lang.String toString()
Return a String representing the object.

Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.lang.String indent)
Return a String representing the object indented by the argument string.