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

Class FFWrapper

source code

object --+
         |
        FFWrapper

A collection of (yet experimental) classes to implement fitness transformations and wrappers. Aliased to FF2 below.
Nested Classes [hide private]
  FitnessTransformation
This class does nothing but serve as an interface template. Typical use-case:
  BookKeeping
a stump for experimenting with use-cases and possible extensions of book keeping
  TransformSearchSpace
constructs the composed function f <- f o shift.
  ScaleCoordinates
define a scaling of each variable
  ShiftedFitness
f = cma.ShiftedFitness(cma.fcts.sphere) constructs a shifted sphere function, by default the shift is computed from class ConstRandnShift with std dev 3.
  RotatedFitness
f = cma.RotatedFitness(cma.fcts.elli) constructs a rotated ellipsoid function
  FixVariables
fix variables to given values, thereby reducing the dimensionality of the preimage.
  SomeNaNFitness
  NoisyFitness
apply noise via f += rel_noise(dim) * f + abs_noise()
  GlueArguments
f = cma.FF2.GlueArguments(cma.fcts.elli, cond=1e4)
  UnknownFF
search in [-10, 10] for the unknown (optimum)
Instance Methods [hide private]

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

Properties [hide private]

Inherited from object: __class__