org.tm4j.panckoucke.impl.abstraction.util .MatrixMolder
Description
The MatrixMolder implements the Matrix-Pattern.
It takes Matrix-Objects and transfers
them into AbstractModel-Graphs that represent tabular data.
En detail, the matrix pattern looks like this:
- It starts with an AMNode with AMGestalt #GESTALT_MATRIX and no represented object.
- The matrix node has two outgoing arcs, one with AMGestalt #GESTALT_COLUMNS the other with AMGestalt #GESTALT_ROWS.
- The columns arc contains one endnode for each column of the represented matrix. Neither the gestalt, nor the represented object of theese endnodes underly any constraints.
- The rows arc contains one endnode for each row of the represented matrix. Neither the gestalt, nor the represented object of theese endnodes underly any constraints.
- Each row node has one outgoing arc, that contains exactly one endnode for every cell of the row. Neither the gestalt, nor the represented object of theese cell nodes underly any constraints. The molder guarantees, that every row arc has exactly the same number of endnodes as the column arc has endnodes.
Inheritance Hierarchy
- java.lang.Object
- MatrixMolder
Field Summary | |
---|---|
GESTALT_COLUMNS | AMGestalt to indicate the COLUMNS-Arc of a Node that reproduce the Matrix-Pattern |
GESTALT_MATRICES | AMGestalt to indicate arcs that hold matrixnodes |
GESTALT_MATRIX | AMGestalt to indicate the MATRIX-Node |
GESTALT_ROWS | AMGestalt to indicate the ROWS-Arc of a Node that reproduce the Matrix-Pattern |
Method Summary | |
---|---|
org.tm4j.panckoucke.model.AMNode |
mold(org.tm4j.panckoucke.model.AModel model,org.tm4j.panckoucke.impl.abstraction.util.Matrix matrix)
Transforms the given matrix into an abstract model graph.
|
Related Topics
Imports
Is Contained By
Is Imported By