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,Named,Problem
Transformation that oscillates the objective values of the inner function.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleControls the frequency of the oscillation.Fields inherited from class org.moeaframework.problem.BBOB2016.BBOBTransformation
functionFields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables -
Constructor Summary
ConstructorsConstructorDescriptionTransformObjectiveOscillate(BBOBFunction function) Constructs a new instance of the oscillation transformation. -
Method Summary
Methods inherited from class org.moeaframework.problem.BBOB2016.BBOBTransformation
newSolutionMethods inherited from class org.moeaframework.problem.AbstractProblem
close, 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:ProblemEvaluates 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
-