Class TransformVariablesZHat

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformVariablesZHat extends BBOBTransformation
The z-hat transformation used by the Schwefel function.
  • Constructor Details

    • TransformVariablesZHat

      public TransformVariablesZHat(BBOBFunction function, double[] xopt)
      Constructs a new instance of the z-hat transformation.
      Parameters:
      function - the inner function
      xopt - the location of the optimum
  • 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