Module cma :: Class FFWrapper :: Class NoisyFitness
[hide private]
[frames] | no frames]

Class NoisyFitness

source code

                     object --+    
                              |    
FFWrapper.FitnessTransformation --+
                                  |
                                 FFWrapper.NoisyFitness

apply noise via f += rel_noise(dim) * f + abs_noise()
Instance Methods [hide private]
 
__init__(self, fitness_function, rel_noise=<function <lambda> at 0x106bf6500>, abs_noise=<function <lambda> at 0x106bf6578>)
fitness_function must be callable (e.g. a function or a callable class instance)
source code
 
__call__(self, x, *args)
identity as default transformation
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fitness_function, rel_noise=<function <lambda> at 0x106bf6500>, abs_noise=<function <lambda> at 0x106bf6578>)
(Constructor)

source code 
fitness_function must be callable (e.g. a function or a callable class instance)
Overrides: object.__init__
(inherited documentation)

__call__(self, x, *args)
(Call operator)

source code 
identity as default transformation
Overrides: FitnessTransformation.__call__
(inherited documentation)