public class Schaffer extends Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, precision_, problemName_, solutionType_, upperLimit_, variableType_
Constructor and Description |
---|
Schaffer(java.lang.String solutionType)
Constructor.
|
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
public Schaffer(java.lang.String solutionType) throws java.lang.ClassNotFoundException
solutionType
- The solution type must "Real" or "BinaryReal".java.lang.ClassNotFoundException
public void evaluate(Solution solution) throws JMException
evaluate
in class Problem
solution
- The solution to evaluateJMException