public class Griewank extends Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, precision_, problemName_, solutionType_, upperLimit_, variableType_
Constructor and Description |
---|
Griewank(java.lang.String solutionType,
java.lang.Integer numberOfVariables)
Constructor
Creates a default instance of the Griewank problem
|
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 Griewank(java.lang.String solutionType, java.lang.Integer numberOfVariables) throws java.lang.ClassNotFoundException
numberOfVariables
- Number of variables of the problemsolutionType
- 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