com.jgraph.algebra.cost
public interface JGraphCostFunction
new JGraphDistanceCostFunction(graph.getGraphLayoutCache())
or
new JGraphConstantCostFunction(1)
.
Method Summary | |
---|---|
double | getCost(Object cell)
Evaluates the cost of cell .
|
cell
.
Parameters: cell the cell to be evaluated
Returns: Returns the cost to traverse cell