protected class JGraphCoordinateAssignment.WeightedCellSorter
extends java.lang.Object
implements java.lang.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) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object arg0)
comparator on the medianValue
|
public int weightedValue
public boolean nudge
public boolean visited
public int rankIndex
public JGraphAbstractHierarchyCell cell
public WeightedCellSorter()
public WeightedCellSorter(JGraphAbstractHierarchyCell cell, int weightedValue)
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.