public class JGraphConstantCostFunction extends Object implements JGraphCostFunction
Modifier and Type | Field and Description |
---|---|
protected double |
cost |
Constructor and Description |
---|
JGraphConstantCostFunction(double cost) |
public double getCost(Object cell)
JGraphCostFunction
cell
.getCost
in interface JGraphCostFunction
cell
- the cell to be evaluatedcell
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.