Class TransformVariablesScale

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformVariablesScale extends BBOBTransformation
Transformation that scales the decision variables by a given factor.
  • Constructor Details

    • TransformVariablesScale

      public TransformVariablesScale(BBOBFunction function, double factor)
      Constructs a new transformation that scales the decision variables by a given factor.
      Parameters:
      function - the inner function
      factor - the scaling factor
  • 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