In file EO++.h:

template < class EOTfloat > class EOFloatArrayMutateByPercentage : public MonOp<EOTfloat>

Every gen is mutated adding or substracting a percentage multipliying by a value between 0 a 1

Inheritance:


Public Methods

virtual void applyAt( EOTfloat& _eo, unsigned _i, unsigned _j=0 )
applies operator to one gene in the EO
EOFloatArrayMutateByPercentage( float _percentage, float _priority = 0)
virtual ~EOFloatArrayMutateByPercentage()
needed virtual dtor

Inherited from MonOp:

Public Methods

virtual void operator)( EOType& _eo1)

Inherited from EOOp:

Public Methods

float Priority()
void Priority( unsigned _priority )
Arity readArity()

Private Fields

Arity arity
float priority

Documentation

Every gen is mutated adding or substracting a percentage multipliying by a value between 0 a 1
EOFloatArrayMutateByPercentage( float _percentage, float _priority = 0)

virtual ~EOFloatArrayMutateByPercentage()
needed virtual dtor

virtual void applyAt( EOTfloat& _eo, unsigned _i, unsigned _j=0 )
applies operator to one gene in the EO


This class has no child classes.

alphabetic index hierarchy of classes


BinOp