jmetal.problems.WFG
Class WFG3

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

public class WFG3
extends WFG

This class implements the WFG3 problem Reference: Simon Huband, Luigi Barone, Lyndon While, Phil Hingston A Scalable Multi-objective Test Problem Toolkit. Evolutionary Multi-Criterion Optimization: Third International Conference, EMO 2005. Proceedings, volume 3410 of Lecture Notes in Computer Science

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
WFG3(java.lang.String solutionType)
          Creates a default WFG3 instances with 2 position-related parameters 4 distance-related parameters and 2 objectives
WFG3(java.lang.String solutionType, java.lang.Integer k, java.lang.Integer l, java.lang.Integer M)
          Creates a WFG3 problem instance
 
Method Summary
 float[] evaluate(float[] z)
          Evaluates a solution
 void evaluate(Solution solution)
          Evaluates a solution
 float[] t1(float[] z, int k)
          WFG3 t1 transformation
 float[] t2(float[] z, int k)
          WFG3 t2 transformation
 float[] t3(float[] z, int k, int M)
          WFG3 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

WFG3

public WFG3(java.lang.String solutionType)
     throws java.lang.ClassNotFoundException
Creates a default WFG3 instances 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

WFG3

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

Parameters:
k - Number of position parameters
l - Number of distance parameters
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)
WFG3 t1 transformation


t2

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


t3

public float[] t3(float[] z,
                  int k,
                  int M)
WFG3 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