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

Class RotatedFitness

source code

                     object --+        
                              |        
FFWrapper.FitnessTransformation --+    
                                  |    
     FFWrapper.TransformSearchSpace --+
                                      |
                                     FFWrapper.RotatedFitness

f = cma.RotatedFitness(cma.fcts.elli) constructs a rotated ellipsoid function
Instance Methods [hide private]
 
__init__(self, f, rotate=Rotation())
rotate(x) must return a (stable) rotation of x.
source code

Inherited from FitnessTransformation: __call__

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, f, rotate=Rotation())
(Constructor)

source code 

rotate(x) must return a (stable) rotation of x.

Details: this class solely provides a default second argument to TransformSearchSpace, namely a search space rotation.

Overrides: object.__init__