#include <GLBaseOrganism.h>
Public Types | |
typedef const GLBaseOrganism * | first_argument_type |
type to satisfy STL requirements. | |
typedef const GLBaseOrganism * | second_argument_type |
type to satisfy STL requirements. | |
typedef bool | result_type |
type to satisfy STL requirements. | |
Public Member Functions | |
CompareEqual (bool soft_flag=true) | |
result_type | operator() (first_argument_type left, first_argument_type right) const |
Definition at line 223 of file GLBaseOrganism.h.
GLBaseOrganism::CompareEqual::CompareEqual | ( | bool | soft_flag = true |
) | [inline] |
Determines wether the comparison class will do 'soft' comparison, i.e. genetic material only, or 'hard' including, possibly, fittness.
Definition at line 236 of file GLBaseOrganism.h.
result_type GLBaseOrganism::CompareEqual::operator() | ( | first_argument_type | left, | |
first_argument_type | right | |||
) | const [inline] |
Returns true if left operand is == then the right one.
Definition at line 241 of file GLBaseOrganism.h.