MOEA Framework 2.3
API Specification

org.moeaframework.problem.CEC2009
Class UF8

java.lang.Object
  extended by org.moeaframework.problem.AbstractProblem
      extended by org.moeaframework.problem.CEC2009.UF8
All Implemented Interfaces:
Problem

public class UF8
extends AbstractProblem

The unconstrained UF8 test problem from the CEC 2009 special session and competition.


Field Summary
 
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
 
Constructor Summary
UF8()
          Constructs a UF8 test problem with 30 decision variables.
UF8(int numberOfVariables)
          Constructs a UF8 test problem with the specified number of decision variables.
 
Method Summary
 void evaluate(Solution solution)
          Evaluates the solution, updating the solution's objectives in place.
 Solution newSolution()
          Returns a new solution for this problem.
 
Methods inherited from class org.moeaframework.problem.AbstractProblem
close, finalize, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UF8

public UF8()
Constructs a UF8 test problem with 30 decision variables.


UF8

public UF8(int numberOfVariables)
Constructs a UF8 test problem with the specified number of decision variables.

Parameters:
numberOfVariables - the number of decision variables
Method Detail

evaluate

public void evaluate(Solution solution)
Description copied from interface: Problem
Evaluates the solution, updating the solution's objectives in place. Algorithms must explicitly call this method when appropriate to evaluate new solutions or reevaluate modified solutions.

Parameters:
solution - the solution to be evaluated

newSolution

public Solution newSolution()
Description copied from interface: Problem
Returns a new solution for this problem. Implementations must initialize the variables so that the valid range of values is defined, but may leave the actual value at a default or undefined state.

Returns:
a new solution for this problem

MOEA Framework 2.3
API Specification

Copyright 2009-2014 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Hosted by Get MOEA Framework at SourceForge.net. Fast, secure and Free Open Source software downloads