#include <cFibObjectFitness.h>
List of all members.
Detailed Description
Definition at line 59 of file cFibObjectFitness.h.
Constructor & Destructor Documentation
enviroment::fib::cFibObjectFitness::cFibObjectFitness |
( |
double |
dInFittness, |
|
|
const cFibObjectFitnessAlgorithm * |
pInFibObjectFitnessAlgorithm = NULL |
|
) |
| |
|
protected |
constructor
- Parameters:
-
dInFittness | a value for the fitness of the object; the higher this value is the better the fitness |
pInFibObjectFitnessAlgorithm | the algorithm with which this fitness was created; if NULL no algorithm had created this object; Beware: this object won't be copied, if you delete it getFitnessAlgorithm() will return an invalid pointer |
enviroment::fib::cFibObjectFitness::cFibObjectFitness |
( |
const cFibObjectFitness & |
objectFitness | ) |
|
copyconstructor
- Parameters:
-
virtual enviroment::fib::cFibObjectFitness::~cFibObjectFitness |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual string enviroment::fib::cFibObjectFitness::getClassName |
( |
| ) |
const |
|
virtual |
virtual bool enviroment::fib::cFibObjectFitness::operator== |
( |
const cFibObjectFitness & |
fitness | ) |
const |
|
virtual |
Comparisson on equal operator for two fitness objects.
- Parameters:
-
fitness | the fitnessobject to compare this fitnessobject to |
- Returns:
- true if the fitness this object represents is equal to the fitness the given object fitness represents
Friends And Related Function Documentation
The documentation for this class was generated from the following file: