org.jgraph.algebra
Class DefaultCostFunction
java.lang.Object
|
+--org.jgraph.algebra.DefaultCostFunction
- All Implemented Interfaces:
- CostFunction
- public class DefaultCostFunction
- extends Object
- implements CostFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCostFunction
public DefaultCostFunction()
getCost
public double getCost(JGraph graph,
Object cell)
- Specified by:
getCost
in interface CostFunction
getLength
public static double getLength(CellView view)
Copyright (C) 2003-2004 Gaudenz Alder. All rights reserved.