#include <Individual.h>
Inheritance diagram for Individual:
Public Types | |
typedef enum Individual::ValueType | ValueType |
enum | ValueType { valueInt, valueDouble, value2PiDouble } |
Public Member Functions | |
Individual () | |
Constructor. | |
virtual void | getDimension (int &dim1, int &dim2)=0 |
virtual void | getValue (int index1, int index2, double &min, double &max, double &value, ValueType &type)=0 |
virtual void | setValue (int index1, int index2, double value)=0 |
void | mutationOf (Individual *father, double rate, double amount, bool uniformNoise=false) |
let this Individual be the mutation of another one: maximum rate of the genes are mutated by maximum amount of (max-min) | |
void | crossingOverOf (Individual *father, Individual *mother) |
let this Individual be the crossing over of father and mother even genes are taken from father, uneven from mother | |
Public Attributes | |
double | fitness |
Definition at line 19 of file Individual.h.
|
Referenced by crossingOverOf(), and mutationOf(). |
|
Definition at line 26 of file Individual.h. |
|
Constructor.
Definition at line 14 of file Individual.cpp. |
|
Implemented in GT2004Parameters, and InvKinWalkingParameters. Referenced by crossingOverOf(), and mutationOf(). |
|
Implemented in GT2004Parameters, and InvKinWalkingParameters. Referenced by crossingOverOf(), and mutationOf(). |
|
Implemented in GT2004Parameters, and InvKinWalkingParameters. Referenced by crossingOverOf(), and mutationOf(). |
|
let this Individual be the mutation of another one: maximum rate of the genes are mutated by maximum amount of (max-min)
Definition at line 18 of file Individual.cpp. References getDimension(), getValue(), max, min, pi, pi2, random(), setValue(), value2PiDouble, valueDouble, valueInt, and ValueType. Referenced by GT2004BasicBehaviorEvolveOmniParameters::GT2004BasicBehaviorEvolveOmniParameters(). |
Here is the call graph for this function:
|
let this Individual be the crossing over of father and mother even genes are taken from father, uneven from mother
Definition at line 65 of file Individual.cpp. References fitness, getDimension(), getValue(), random(), setValue(), and ValueType. |
Here is the call graph for this function:
|
Definition at line 47 of file Individual.h. Referenced by crossingOverOf(), and GT2004BasicBehaviorEvolveOmniParameters::execute(). |