complex
Interface Cell

All Known Subinterfaces:
GeoCell
All Known Implementing Classes:
DBCell, DBGeoCell, StandardCell, StandardGeoCell

public interface Cell

The representation of a single cell contained in a Complex.

Each cell of a complex has got a unique ID. A cell of dimension d is bounded by cells of dimension d-1. The boundary maps the IDs of these cells to {-1, 0, 1}.

Author:
karsten

Method Summary
 IntegerMap getBoundary()
          Returns the boundary of this cell.
 Complex getComplex()
          Returns the complex containing this cell.
 int getDim()
          Returns the dimension of this cell.
 CellID getID()
          Returns the ID of this cell.
 

Method Detail

getID

public CellID getID()
Returns the ID of this cell. The ID should be unique in the associated complex

Returns:
ID

getComplex

public Complex getComplex()
Returns the complex containing this cell.


getBoundary

public IntegerMap getBoundary()
Returns the boundary of this cell. Each cell contained in the boundary should have dimension d-1. The boundary of the boundary has to sum up to zero.

Returns:
boundary as a Map CellID->Integer

getDim

public int getDim()
Returns the dimension of this cell. This can be at most the dimension of the associated complex.

Returns:
dimension