Class TransformVariablesAffine

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformVariablesAffine extends BBOBTransformation
Performs an affine transformation of the form f(x) = Mx + b.
  • Constructor Details

    • TransformVariablesAffine

      public TransformVariablesAffine(BBOBFunction function, double[][] M, double[] b)
      Constructs a new instance of the affine transformation.
      Parameters:
      function - the inner function
      M - the rotation component of the affine transform
      b - the translation component of the affine transform
  • Method Details

    • evaluate

      public void evaluate(Solution solution)
      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