protected class JGraphCoordinateAssignment.WeightedCellSorter extends Object implements Comparable
Modifier and Type | Field and Description |
---|---|
JGraphAbstractHierarchyCell |
cell
The cell whose median value is being calculated
|
boolean |
nudge
Whether or not to flip equal weight values.
|
int |
rankIndex
The index this cell is in the model rank
|
boolean |
visited
Whether or not this cell has been visited in the current assignment
|
int |
weightedValue
The weighted value of the cell stored
|
Constructor and Description |
---|
WeightedCellSorter() |
WeightedCellSorter(JGraphAbstractHierarchyCell cell,
int weightedValue) |
public int weightedValue
public boolean nudge
public boolean visited
public int rankIndex
public JGraphAbstractHierarchyCell cell
public WeightedCellSorter()
public WeightedCellSorter(JGraphAbstractHierarchyCell cell, int weightedValue)
public int compareTo(Object arg0)
compareTo
in interface Comparable
arg0
- the object to be compared toCopyright (C) 2001-2009 JGraph Ltd. All rights reserved.