GLBaseOrganism::CompareLess Class Reference

#include <GLBaseOrganism.h>

List of all members.

Public Member Functions

 CompareLess (bool soft_flag=true)
bool operator() (const GLBaseOrganism *left, const GLBaseOrganism *right) const


Detailed Description

Class for use with stl::set etc.

Definition at line 201 of file GLBaseOrganism.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool GLBaseOrganism::CompareLess::operator() ( const GLBaseOrganism left,
const GLBaseOrganism right 
) const [inline]

Returns true if left operand is < then the right one.

Returns:
true if left operand is < then the right one.

Definition at line 213 of file GLBaseOrganism.h.


The documentation for this class was generated from the following file:

Generated on Sat Jun 13 13:58:06 2009 for GenLib by  doxygen 1.5.9