Class TransformVariablesOscillate
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
org.moeaframework.problem.BBOB2016.BBOBTransformation
org.moeaframework.problem.BBOB2016.TransformVariablesOscillate
- All Implemented Interfaces:
AutoCloseable,Named,Problem
Transformation that applies a monotone oscillation to the decision variables of the inner function.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleFactor controlling the periodicity 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
ConstructorsConstructorDescriptionTransformVariablesOscillate(BBOBFunction function) Constructs a new transformation that applies an oscillation to the decision variables. -
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 ALPHAFactor controlling the periodicity of the oscillation.- See Also:
-
-
Constructor Details
-
TransformVariablesOscillate
Constructs a new transformation that applies an oscillation to the decision variables.- 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
-