class documentation

Abstract class of BBOB test functions.

Implements some base functions that are used by the test functions of BBOB such as initialisations of class attributes.

Method __eq__ Undocumented
Method __init__ Common initialisation.
Method getiinstance Designates the instance of the function class.
Method setiinstance Undocumented
Method shape_ Undocumented
Method shortstr Gives a short string self representation (shorter than str(self)).
Class Variable xopt Undocumented
Instance Variable dim Undocumented
Instance Variable fopt Undocumented
Instance Variable iinstance Undocumented
Instance Variable lastshape Undocumented
Instance Variable param Undocumented
Instance Variable rseed Undocumented
Instance Variable zerox Undocumented
Method _getxopt Return the argument of the optimum of the function.
Method _setxopt Return the argument of the optimum of the function.
Instance Variable _iinstance Undocumented
Instance Variable _xopt Undocumented

Inherited from AbstractTestFunction:

Method __call__ Returns the objective function value of argument x.
Method evaluate Returns the objective function value (in case noisy).
Method getfopt Returns the best function value of this instance of the function.
Method setfopt Undocumented
Method _evalfull return noisy and noise-free value, the latter for recording purpose.
Instance Variable _fopt Undocumented
def __eq__(self, obj):

Undocumented

def __init__(self, iinstance=0, zerox=False, zerof=False, param=None, **kwargs):

Common initialisation.

Keyword arguments: iinstance -- instance of the function (int) zerox -- sets xopt to [0, ..., 0] zerof -- sets fopt to 0 param -- parameter of the function (if applicable) kwargs -- additional attributes

def getiinstance(self):

Designates the instance of the function class.

An instance in this case means a given target function value, a given optimal argument x, and given transformations for the function. It needs to have a string representation. Preferably it should be a number or a string.

def setiinstance(self, iinstance):

Undocumented

def shape_(self, x):

Undocumented

def shortstr(self):

Gives a short string self representation (shorter than str(self)).

fopt: float =
iinstance =

Undocumented

param =

Undocumented

rseed =

Undocumented

zerox =

Undocumented

def _getxopt(self):

Return the argument of the optimum of the function.

def _setxopt(self, xopt):

Return the argument of the optimum of the function.

_iinstance =

Undocumented

_xopt =

Undocumented