Tests functions

The t_functions file contains various mathematical functions that are used to test the convergence of the genetic algorithm. The functions are described in the following table:

All test functions included in this library are decorated with the @tfxdecorator. This decorator is used to provide the function with the following attributes:

  • minimum: the minimum value of the function

  • maximum: the maximum value of the function (if available)

  • gradient: the gradient of the function

  • dim : the dimension of the function

The test functions can be found here.