MOEA Framework 2.12
API Specification

org.moeaframework.problem.BBOB2016
Class TransformObjectivePenalize

java.lang.Object
  extended by org.moeaframework.problem.AbstractProblem
      extended by org.moeaframework.problem.BBOB2016.BBOBFunction
          extended by org.moeaframework.problem.BBOB2016.BBOBTransformation
              extended by org.moeaframework.problem.BBOB2016.TransformObjectivePenalize
All Implemented Interfaces:
Problem

public class TransformObjectivePenalize
extends BBOBTransformation

Transformation that penalizes the objectives if the decision variables fall outside the region of interest. This transformation currently has no impact on the MOEA Framework since all real-valued decision variables enforce the lower and upper bounds.


Field Summary
 
Fields inherited from class org.moeaframework.problem.BBOB2016.BBOBTransformation
function
 
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
 
Constructor Summary
TransformObjectivePenalize(BBOBFunction function, double factor)
          Constructs a new instance of the penalty transformation.
 
Method Summary
 void evaluate(Solution solution)
          Evaluates the solution, updating the solution's objectives in place.
 
Methods inherited from class org.moeaframework.problem.BBOB2016.BBOBTransformation
newSolution
 
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

TransformObjectivePenalize

public TransformObjectivePenalize(BBOBFunction function,
                                  double factor)
Constructs a new instance of the penalty transformation.

Parameters:
function - the inner function
factor - the penalty factor
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

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!