Class TransformObjectiveOscillate
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
org.moeaframework.problem.BBOB2016.BBOBTransformation
org.moeaframework.problem.BBOB2016.TransformObjectiveOscillate
- All Implemented Interfaces:
AutoCloseable
,Problem
Transformation that oscillates the objective values of the inner function.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Controls the frequency of the oscillation.Fields inherited from class org.moeaframework.problem.BBOB2016.BBOBTransformation
function
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
-
Constructor Summary
ConstructorDescriptionTransformObjectiveOscillate
(BBOBFunction function) Constructs a new instance of the oscillation 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
-
Field Details
-
ALPHA
public static final double ALPHAControls the frequency of the oscillation.- See Also:
-
-
Constructor Details
-
TransformObjectiveOscillate
Constructs a new instance of the oscillation transformation.- Parameters:
function
- the inner function
-
-
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
-