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
,Problem
Transformation that applies a monotone oscillation to the decision variables of the inner function.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Factor controlling the periodicity 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
ConstructorDescriptionTransformVariablesOscillate
(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
newSolution
Methods inherited from class org.moeaframework.problem.AbstractProblem
close, getName, 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: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
-