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

Class SomeNaNFitness

source code

                     object --+    
                              |    
FFWrapper.FitnessTransformation --+
                                  |
                                 FFWrapper.SomeNaNFitness

Instance Methods [hide private]
 
__init__(self, fitness_function, probability_of_nan=0.1)
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, probability_of_nan=0.1)
(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)