public interface JGraphCostFunction
new JGraphDistanceCostFunction(graph.getGraphLayoutCache())
or
new JGraphConstantCostFunction(1)
.Modifier and Type | Method and Description |
---|---|
double |
getCost(Object cell)
Evaluates the cost of
cell . |
double getCost(Object cell)
cell
.cell
- the cell to be evaluatedcell
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.