|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectaminePlatform.util.graph.RelaxOntology.CellWrapper
cell wrapper contains all values for one node
Field Summary | |
(package private) int |
gridPosition
current position in the grid |
(package private) int |
level
the vertical level where the cell wrapper is inserted |
(package private) int |
position
position of next child |
(package private) int |
priority
priority for movements to the barycenter |
(package private) VisualNode |
vertexView
reference to the wrapped cell |
Constructor Summary | |
(package private) |
RelaxOntology.CellWrapper(int level,
double edgeCrossesIndicator,
VisualNode vertexView)
creates an instance and memorizes the parameters |
Method Summary | |
(package private) void |
addToEdgeCrossesIndicator(double addValue)
Addes a value to the edge crosses indicator for the wrapped cell |
int |
compareTo(java.lang.Object compare)
|
(package private) double |
getEdgeCrossesIndicator()
retruns the average value for the edge crosses indicator for the wrapped cell |
(package private) int |
getGridPosition()
gets the grid position for the wrapped cell |
(package private) int |
getLevel()
gets the level of the wrapped cell |
(package private) int |
getPriority()
returns the priority of this cell wrapper. |
(package private) VisualNode |
getVertexView()
returns the wrapped cell |
(package private) void |
incrementPosition()
|
(package private) void |
incrementPriority()
increments the the priority of this cell wrapper. |
(package private) void |
resetEdgeCrossesIndicator()
resets the indicator for edge crosses to 0 |
(package private) void |
setChildosition(int pos)
|
(package private) void |
setGridPosition(int pos)
Sets the grid position for the wrapped cell |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int level
int gridPosition
int priority
VisualNode vertexView
int position
Constructor Detail |
RelaxOntology.CellWrapper(int level, double edgeCrossesIndicator, VisualNode vertexView)
Method Detail |
VisualNode getVertexView()
void resetEdgeCrossesIndicator()
double getEdgeCrossesIndicator()
void addToEdgeCrossesIndicator(double addValue)
int getLevel()
int getGridPosition()
void setGridPosition(int pos)
void incrementPosition()
void setChildosition(int pos)
void incrementPriority()
int getPriority()
public int compareTo(java.lang.Object compare)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |