GLBaseOrganism::CompareEqual Class Reference

#include <GLBaseOrganism.h>

List of all members.

Public Types

typedef const GLBaseOrganismfirst_argument_type
 type to satisfy STL requirements.
typedef const GLBaseOrganismsecond_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


Detailed Description

Class for use with stl algorithms line find etc.

Definition at line 223 of file GLBaseOrganism.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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

Definition at line 241 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