jmetal.problems.WFG
Class WFG9

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

public class WFG9
extends WFG

Creates a default WFG9 problem with 2 position-related parameters, 4 distance-related parameters, and 2 objectives

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.problems.WFG.WFG
A_, D_, k_, l_, M_, random, S_
 
Fields inherited from class jmetal.core.Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_
 
Constructor Summary
WFG9(java.lang.String solutionType)
          Creates a default WFG9 with 2 position-related parameters, 4 distance-related parameters, and 2 objectives
WFG9(java.lang.String solutionType, java.lang.Integer k, java.lang.Integer l, java.lang.Integer M)
          Creates a WFG9 problem instance
 
Method Summary
 float[] evaluate(float[] z)
          Evaluates a solution
 void evaluate(Solution solution)
          Evaluates a solution
 float[] t1(float[] z, int k)
          WFG9 t1 transformation
 float[] t2(float[] z, int k)
          WFG9 t2 transformation
 float[] t3(float[] z, int k, int M)
          WFG9 t3 transformation
 
Methods inherited from class jmetal.problems.WFG.WFG
calculate_x, correct_to_01, normalise, subVector
 
Methods inherited from class jmetal.core.Problem
evaluateConstraints, 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
 

Constructor Detail

WFG9

public WFG9(java.lang.String solutionType)
     throws java.lang.ClassNotFoundException
Creates a default WFG9 with 2 position-related parameters, 4 distance-related parameters, and 2 objectives

Parameters:
solutionType - The solution type must "Real" or "BinaryReal".
Throws:
java.lang.ClassNotFoundException

WFG9

public WFG9(java.lang.String solutionType,
            java.lang.Integer k,
            java.lang.Integer l,
            java.lang.Integer M)
     throws java.lang.ClassNotFoundException
Creates a WFG9 problem instance

Parameters:
k - Number of position variables
l - Number of distance variables
M - Number of objective functions
solutionType - The solution type must "Real" or "BinaryReal".
Throws:
java.lang.ClassNotFoundException
Method Detail

evaluate

public float[] evaluate(float[] z)
Evaluates a solution

Specified by:
evaluate in class WFG
Parameters:
z - The solution to evaluate
Returns:
double [] with the evaluation results

t1

public float[] t1(float[] z,
                  int k)
WFG9 t1 transformation


t2

public float[] t2(float[] z,
                  int k)
WFG9 t2 transformation


t3

public float[] t3(float[] z,
                  int k,
                  int M)
WFG9 t3 transformation


evaluate

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

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