public class Golinski extends Problem
| Modifier and Type | Field and Description |
|---|---|
static double[] |
LOWERLIMIT |
static double[] |
UPPERLIMIT |
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, precision_, problemName_, solutionType_, upperLimit_, variableType_| Constructor and Description |
|---|
Golinski(java.lang.String solutionType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(Solution solution)
Evaluates a solution.
|
void |
evaluateConstraints(Solution solution)
Evaluates the constraint overhead of a solution
|
getLength, getLowerLimit, getName, getNumberOfBits, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, getPrecision, getPrecision, getSolutionType, getUpperLimit, setnumberOfObjectives, setNumberOfVariables, setPrecision, setSolutionTypepublic static final double[] LOWERLIMIT
public static final double[] UPPERLIMIT
public Golinski(java.lang.String solutionType)
throws java.lang.ClassNotFoundException
solutionType - The solution type must "Real" or "BinaryReal".java.lang.ClassNotFoundExceptionpublic void evaluate(Solution solution) throws JMException
evaluate in class Problemsolution - The solution to evaluate.JMExceptionpublic void evaluateConstraints(Solution solution) throws JMException
evaluateConstraints in class Problemsolution - The solutionJMException