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

Class FitnessTransformation

source code

object --+
         |
        FFWrapper.FitnessTransformation
Known Subclasses:

This class does nothing but serve as an interface template. Typical use-case:

f = FitnessTransformation(f, parameters_if_needed)``

See: class TransformSearchSpace

Instance Methods [hide private]
 
__init__(self, fitness_function, *args, **kwargs)
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, *args, **kwargs)
(Constructor)

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