com.jgraph.algebra.cost
public class JGraphDistanceCostFunction extends Object implements JGraphCostFunction
Field Summary | |
---|---|
protected CellMapper | mapper |
Constructor Summary | |
---|---|
JGraphDistanceCostFunction(CellMapper mapper) |
Method Summary | |
---|---|
double | getCost(Object cell) |
static double | getLength(CellView view) |