Class TransformVariablesOscillate

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformVariablesOscillate extends BBOBTransformation
Transformation that applies a monotone oscillation to the decision variables of the inner function.
  • Field Details

    • ALPHA

      public static final double ALPHA
      Factor controlling the periodicity of the oscillation.
      See Also:
  • Constructor Details

    • TransformVariablesOscillate

      public TransformVariablesOscillate(BBOBFunction function)
      Constructs a new transformation that applies an oscillation to the decision variables.
      Parameters:
      function - the inner function
  • 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