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,Named,Problem
Transformation that scales the decision variables by a given factor.
-
Field Summary
Fields inherited from class org.moeaframework.problem.BBOB2016.BBOBTransformation
functionFields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables -
Constructor Summary
ConstructorsConstructorDescriptionTransformVariablesScale(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
newSolutionMethods inherited from class org.moeaframework.problem.AbstractProblem
close, 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: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
-