Class TransformVariablesAffine
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
org.moeaframework.problem.BBOB2016.BBOBTransformation
org.moeaframework.problem.BBOB2016.TransformVariablesAffine
- All Implemented Interfaces:
AutoCloseable
,Problem
Performs an affine transformation of the form f(x) = Mx + b.
-
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
ConstructorDescriptionTransformVariablesAffine
(BBOBFunction function, double[][] M, double[] b) Constructs a new instance of the affine transformation. -
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
-
TransformVariablesAffine
Constructs a new instance of the affine transformation.- Parameters:
function
- the inner functionM
- the rotation component of the affine transformb
- the translation component of the affine transform
-
-
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
-