public interface mxICostFunction
new mxDistanceCostFunction(graph) or
new mxConstantCostFunction(1).| Modifier and Type | Method and Description |
|---|---|
double |
getCost(mxCellState state)
Evaluates the cost of the given cell state.
|
double getCost(mxCellState state)
state - The cell state to be evaluatedCopyright (c) 2010 Gaudenz Alder. All rights reserved.