Class TransformObjectiveOscillate

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformObjectiveOscillate extends BBOBTransformation
Transformation that oscillates the objective values of the inner function.
  • Field Details

    • ALPHA

      public static final double ALPHA
      Controls the frequency of the oscillation.
      See Also:
  • Constructor Details

    • TransformObjectiveOscillate

      public TransformObjectiveOscillate(BBOBFunction function)
      Constructs a new instance of the oscillation transformation.
      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