|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of a complex, which consists of a collection of cells
together with a boundary operator.
For each cell in a complex, boundary(cell.boundary).isZero
has to be always true.
Method Summary | |
IntegerMap |
boundary(IntegerMap cells)
Calculates the boundary of a set of cells. |
Cell |
getCell(CellID cell)
Returns the cell with the specified ID. |
int |
getCellCount()
Returns the number of cells in this complex object. |
java.util.Iterator |
getCellIterator()
Returns an iterator over the Cells contained in this Complex. |
EditableComplex |
getCopy()
copy simple this complex a new complex with same data, but the return type should be EditableComplex, z.b copy DBComplex nach StandardComplex |
int |
getDim()
Returns the Dimension of the complex (which has to be larger or equal to the maximal dimension of the contained cells). |
CellID |
getMaxCellID()
Returns The maximum CellID of this complex object. |
EditableComplex |
getPartofComplex(java.util.Set collection)
collection consist of CellID, search a minimal editable complex, which contains all member of this collection |
boolean |
hasCell(CellID cell)
Checks if a cell with the specified ID is contained in this complex. |
Method Detail |
public int getDim()
public IntegerMap boundary(IntegerMap cells)
(key,value)
in the map cells
the maps
value * getCell(key).boundary()
are added.
cells
- a map CellID->Integer
cells
public java.util.Iterator getCellIterator()
Cell
public boolean hasCell(CellID cell)
cell
- the ID of the cell
public Cell getCell(CellID cell)
cell
- the ID of the cell
Cell
public int getCellCount()
Cells
public CellID getMaxCellID()
this complex
public EditableComplex getCopy()
public EditableComplex getPartofComplex(java.util.Set collection)
collection
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |