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, setSolutionType
public 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.ClassNotFoundException
public void evaluate(Solution solution) throws JMException
evaluate
in class Problem
solution
- The solution to evaluate.JMException
public void evaluateConstraints(Solution solution) throws JMException
evaluateConstraints
in class Problem
solution
- The solutionJMException