public class mxGeneratorConstFunction extends mxGeneratorFunction
Constructor and Description |
---|
mxGeneratorConstFunction(double cost) |
Modifier and Type | Method and Description |
---|---|
double |
getCost(mxCellState state)
Evaluates the cost of the given cell state.
|
public double getCost(mxCellState state)
mxICostFunction
state
- The cell state to be evaluatedCopyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.