class documentation
compose a function with a shift in x-space.
>>> import cma >>> f = cma.s.ft.Shifted(cma.ff.elli)
Details: this class solely provides as default second argument to
ComposedFunction, namely a random shift in search space.
shift=lambda x: x would provide "no shift", None
expands to cma.transformations.ConstRandnShift().
| Method | __init__ |
shift(x) must return a (stable) shift of x |
Inherited from ComposedFunction:
| Method | __call__ |
Undocumented |
| Method | inverse |
evaluate the composition of inverses on x. |
| Instance Variable | list |
Undocumented |
Inherited from Function (via ComposedFunction):
| Method | initialize |
initialization of Function |
| Instance Variable | evaluations |
Undocumented |
| Instance Variable | ftarget |
Undocumented |
| Instance Variable | target |
Undocumented |
| Property | function |
attributes which are searched for to be called if no function was given to __init__. |
| Class Variable | _function |
Undocumented |
| Instance Variable | __callable |
Undocumented |
| Instance Variable | __initialized |
Undocumented |