Class TransformObjectivePower

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformObjectivePower extends BBOBTransformation
Transformation that raises the objective value to the power of a given exponent.
  • Constructor Details

    • TransformObjectivePower

      public TransformObjectivePower(BBOBFunction function, double exponent)
      Constructs a new instance of the power transformation.
      Parameters:
      function - the inner function
      exponent - the exponent
  • 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