|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.algebra.DefaultCostFunction
Field Summary | |
protected CellMapper |
mapper
|
Constructor Summary | |
DefaultCostFunction(CellMapper mapper)
|
Method Summary | |
double |
getCost(java.lang.Object cell)
|
static double |
getLength(CellView view)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CellMapper mapper
Constructor Detail |
public DefaultCostFunction(CellMapper mapper)
Method Detail |
public double getCost(java.lang.Object cell)
getCost
in interface CostFunction
public static double getLength(CellView view)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |