Class TransformObjectivePenalize
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
org.moeaframework.problem.BBOB2016.BBOBTransformation
org.moeaframework.problem.BBOB2016.TransformObjectivePenalize
- All Implemented Interfaces:
AutoCloseable
,Problem
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
ConstructorDescriptionTransformObjectivePenalize
(BBOBFunction function, double factor) Constructs a new instance of the penalty transformation. -
Method Summary
Methods inherited from class org.moeaframework.problem.BBOB2016.BBOBTransformation
newSolution
Methods inherited from class org.moeaframework.problem.AbstractProblem
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
TransformObjectivePenalize
Constructs a new instance of the penalty transformation.- Parameters:
function
- the inner functionfactor
- the penalty factor
-
-
Method Details
-
evaluate
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
-