class BBOBFunction(AbstractTestFunction):
Known subclasses: cma.bbobbenchmarks.BBOBCauchyFunction
, cma.bbobbenchmarks.BBOBGaussFunction
, cma.bbobbenchmarks.BBOBNfreeFunction
, cma.bbobbenchmarks.BBOBUniformFunction
, cma.bbobbenchmarks._F8F2
, cma.bbobbenchmarks._FDiffPow
, cma.bbobbenchmarks._FEllipsoid
, cma.bbobbenchmarks._FGallagher
, cma.bbobbenchmarks._FRosenbrock
, cma.bbobbenchmarks._FSchaffersF7
, cma.bbobbenchmarks._FSphere
, cma.bbobbenchmarks._FStepEllipsoid
Constructor: BBOBFunction(iinstance, zerox, zerof, param, **kwargs)
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 |
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
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.
cma.bbobbenchmarks.F11
, cma.bbobbenchmarks.F12
, cma.bbobbenchmarks.F13
, cma.bbobbenchmarks.F15
, cma.bbobbenchmarks.F16
, cma.bbobbenchmarks.F2
, cma.bbobbenchmarks.F20
, cma.bbobbenchmarks.F23
, cma.bbobbenchmarks.F24
, cma.bbobbenchmarks.F3
, cma.bbobbenchmarks.F4
, cma.bbobbenchmarks.F5
, cma.bbobbenchmarks.F6
, cma.bbobbenchmarks.F9
, cma.bbobbenchmarks._F8F2
, cma.bbobbenchmarks._FDiffPow
, cma.bbobbenchmarks._FEllipsoid
, cma.bbobbenchmarks._FGallagher
, cma.bbobbenchmarks._FRosenbrock
, cma.bbobbenchmarks._FSchaffersF7
, cma.bbobbenchmarks._FSphere
, cma.bbobbenchmarks._FStepEllipsoid
, cma.bbobbenchmarks._FTemplate
Undocumented
cma.bbobbenchmarks.F11
, cma.bbobbenchmarks.F12
, cma.bbobbenchmarks.F13
, cma.bbobbenchmarks.F15
, cma.bbobbenchmarks.F16
, cma.bbobbenchmarks.F2
, cma.bbobbenchmarks.F20
, cma.bbobbenchmarks.F23
, cma.bbobbenchmarks.F24
, cma.bbobbenchmarks.F3
, cma.bbobbenchmarks.F4
, cma.bbobbenchmarks.F5
, cma.bbobbenchmarks.F6
, cma.bbobbenchmarks.F9
, cma.bbobbenchmarks._F8F2
, cma.bbobbenchmarks._FDiffPow
, cma.bbobbenchmarks._FEllipsoid
, cma.bbobbenchmarks._FGallagher
, cma.bbobbenchmarks._FRosenbrock
, cma.bbobbenchmarks._FSchaffersF7
, cma.bbobbenchmarks._FSphere
, cma.bbobbenchmarks._FStepEllipsoid
, cma.bbobbenchmarks._FTemplate
Undocumented
cma.bbobbenchmarks.F11
, cma.bbobbenchmarks.F12
, cma.bbobbenchmarks.F13
, cma.bbobbenchmarks.F15
, cma.bbobbenchmarks.F16
, cma.bbobbenchmarks.F2
, cma.bbobbenchmarks.F20
, cma.bbobbenchmarks.F23
, cma.bbobbenchmarks.F24
, cma.bbobbenchmarks.F3
, cma.bbobbenchmarks.F4
, cma.bbobbenchmarks.F5
, cma.bbobbenchmarks.F6
, cma.bbobbenchmarks.F9
, cma.bbobbenchmarks._F8F2
, cma.bbobbenchmarks._FDiffPow
, cma.bbobbenchmarks._FEllipsoid
, cma.bbobbenchmarks._FGallagher
, cma.bbobbenchmarks._FRosenbrock
, cma.bbobbenchmarks._FSchaffersF7
, cma.bbobbenchmarks._FSphere
, cma.bbobbenchmarks._FStepEllipsoid
, cma.bbobbenchmarks._FTemplate
Undocumented