public class mxGeneratorRandomIntFunction extends mxGeneratorFunction
Constructor and Description |
---|
mxGeneratorRandomIntFunction(double minWeight,
double maxWeight) |
Modifier and Type | Method and Description |
---|---|
double |
getCost(mxCellState state)
Evaluates the cost of the given cell state.
|
double |
getMaxWeight() |
double |
getMinWeight() |
void |
setWeightRange(double minWeight,
double maxWeight) |
public mxGeneratorRandomIntFunction(double minWeight, double maxWeight)
public double getCost(mxCellState state)
mxICostFunction
state
- The cell state to be evaluatedpublic double getMaxWeight()
public void setWeightRange(double minWeight, double maxWeight)
public double getMinWeight()
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.