#include <GLBaseOrganism.h>
Public Member Functions | |
CompareLess (bool soft_flag=true) | |
bool | operator() (const GLBaseOrganism *left, const GLBaseOrganism *right) const |
Definition at line 201 of file GLBaseOrganism.h.
GLBaseOrganism::CompareLess::CompareLess | ( | 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 208 of file GLBaseOrganism.h.
bool GLBaseOrganism::CompareLess::operator() | ( | const GLBaseOrganism * | left, | |
const GLBaseOrganism * | right | |||
) | const [inline] |
Returns true if left operand is < then the right one.
Definition at line 213 of file GLBaseOrganism.h.