Class Schaffers

All Implemented Interfaces:
AutoCloseable, Problem

public class Schaffers extends BBOBFunction
The Schaffers F7 function. It is not intended for this function to be used directly since the BBOB test suite applies additional transformations to the test functions.

Properties:

  • Highly multimodal (frequency and amplitude of modulation vary)
  • Asymmetric
  • Rotated
  • Low conditioning
  • Constructor Details

    • Schaffers

      public Schaffers(int numberOfVariables)
      Constructs a new instance of the Schaffers F7 problem.
      Parameters:
      numberOfVariables - the number of decision variables
  • 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