Class TransformVariablesScale
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
org.moeaframework.problem.BBOB2016.BBOBTransformation
org.moeaframework.problem.BBOB2016.TransformVariablesScale
- All Implemented Interfaces:
AutoCloseable
,Problem
Transformation that scales the decision variables by a given factor.
-
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
ConstructorDescriptionTransformVariablesScale
(BBOBFunction function, double factor) Constructs a new transformation that scales the decision variables by a given factor. -
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
-
TransformVariablesScale
Constructs a new transformation that scales the decision variables by a given factor.- Parameters:
function
- the inner functionfactor
- the scaling 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
-