public class OneMax extends Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, precision_, problemName_, solutionType_, upperLimit_, variableType_
Constructor and Description |
---|
OneMax(java.lang.Integer numberOfBits)
Creates a new OneMax problem instance
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Solution solution)
Evaluates a solution
|
evaluateConstraints, getLength, getLowerLimit, getName, getNumberOfBits, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, getPrecision, getPrecision, getSolutionType, getUpperLimit, setnumberOfObjectives, setNumberOfVariables, setPrecision, setSolutionType