JGraphAddons
v1.0


org.jgraph.algebra
Class DefaultCostFunction

java.lang.Object
  |
  +--org.jgraph.algebra.DefaultCostFunction
All Implemented Interfaces:
CostFunction

public class DefaultCostFunction
extends Object
implements CostFunction


Constructor Summary
DefaultCostFunction()
           
 
Method Summary
 double getCost(JGraph graph, 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
 

Constructor Detail

DefaultCostFunction

public DefaultCostFunction()
Method Detail

getCost

public double getCost(JGraph graph,
                      Object cell)
Specified by:
getCost in interface CostFunction

getLength

public static double getLength(CellView view)

JGraphAddons
v1.0


Copyright (C) 2003-2004 Gaudenz Alder. All rights reserved.