#include <cIndividualIdentifier.h>
List of all members.
Protected Member Functions |
| cIndividualIdentifier (unsigned long long ulInIndividualIdentifier, unsigned long long ulInAlgorithmIdentifier) |
Detailed Description
Definition at line 46 of file cIndividualIdentifier.h.
Constructor & Destructor Documentation
enviroment::cIndividualIdentifier::cIndividualIdentifier |
( |
unsigned long long |
ulInIndividualIdentifier, |
|
|
unsigned long long |
ulInAlgorithmIdentifier |
|
) |
| |
|
protected |
constructor
- Parameters:
-
ulInIndividualIdentifier | the identifier of the individual |
ulInAlgorithmIdentifier | the identifier of the enviroment instantiation |
enviroment::cIndividualIdentifier::cIndividualIdentifier |
( |
unsigned long long |
ulInAlgorithmIdentifier | ) |
|
constructor
- Parameters:
-
ulInAlgorithmIdentifier | the identifier of the enviroment instantiation |
Member Function Documentation
static unsigned long long enviroment::cIndividualIdentifier::getNewIndividualIdentifier |
( |
| ) |
|
|
staticprivate |
- Returns:
- a individual identifier that wasn't used bevor
- Returns:
- a identifier for no individual; this will be lower ever other identifier
Comparisson on lower operator for two identifier objects. An identifier is lower, if it's algorithm identifier (
- See also:
- ulAlgorithmIdentifier) is lower or the algorithm identifiers are equal and the individual identifier (
-
ulIndividualIdentifier) is lower.
This method is mainly for sorting individuals.
- See also:
- ulAlgorithmIdentifier
-
ulIndividualIdentifier
- Parameters:
-
identifier | the identifier to compare this identifier to |
- Returns:
- true identifier is lower than the given identifier, else false
Member Data Documentation
unsigned long long enviroment::cIndividualIdentifier::ulAlgorithmIdentifier |
|
protected |
the identifier of the enviroment instantiation, so this identifier is unique, even for different enviroment instantiations
Definition at line 60 of file cIndividualIdentifier.h.
unsigned long long enviroment::cIndividualIdentifier::ulIndividualIdentifier |
|
protected |
the identifier of a individual, wich is unique for all individuals in one enviroment instantiation
Definition at line 54 of file cIndividualIdentifier.h.
The documentation for this class was generated from the following file: