public class mxConstantCostFunction extends Object implements mxICostFunction
| Modifier and Type | Field and Description |
|---|---|
protected double |
cost |
| Constructor and Description |
|---|
mxConstantCostFunction(double cost) |
public mxConstantCostFunction(double cost)
cost - public double getCost(mxCellState state)
mxICostFunctiongetCost in interface mxICostFunctionstate - The cell state to be evaluatedCopyright (c) 2010 Gaudenz Alder. All rights reserved.