Class TransformVariablesXHat

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformVariablesXHat extends BBOBTransformation
The x-hat transformation, which negates some of the decision variables.
  • Constructor Details

    • TransformVariablesXHat

      public TransformVariablesXHat(BBOBFunction function, long seed)
      Constructs a new instance of the x-hat transformation.
      Parameters:
      function - the inner function
      seed - the random number seed controlling which decision variables are negated
  • 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