jmetal.problems
Class Golinski

java.lang.Object
  extended by jmetal.core.Problem
      extended by jmetal.problems.Golinski
All Implemented Interfaces:
java.io.Serializable

public class Golinski
extends Problem

Class representing problem Golinski.

See Also:
Serialized Form

Field Summary
static double[] LOWERLIMIT
           
static double[] UPPERLIMIT
           
 
Fields inherited from class jmetal.core.Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_
 
Constructor Summary
Golinski(java.lang.String solutionType)
          Constructor.
 
Method Summary
 void evaluate(Solution solution)
          Evaluates a solution.
 void evaluateConstraints(Solution solution)
          Evaluates the constraint overhead of a solution
 
Methods inherited from class jmetal.core.Problem
getLength, getLowerLimit, getName, getNumberOfBits, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, getPrecision, getPrecision, getSolutionType, getUpperLimit, setNumberOfVariables, setPrecision, setSolutionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOWERLIMIT

public static final double[] LOWERLIMIT

UPPERLIMIT

public static final double[] UPPERLIMIT
Constructor Detail

Golinski

public Golinski(java.lang.String solutionType)
Constructor. Creates a defalut instance of the Golinski problem.

Parameters:
solutionType - The solution type must "Real" or "BinaryReal".
Method Detail

evaluate

public void evaluate(Solution solution)
              throws JMException
Evaluates a solution.

Specified by:
evaluate in class Problem
Parameters:
solution - The solution to evaluate.
Throws:
JMException

evaluateConstraints

public void evaluateConstraints(Solution solution)
                         throws JMException
Evaluates the constraint overhead of a solution

Overrides:
evaluateConstraints in class Problem
Parameters:
solution - The solution
Throws:
JMException