#include <moeoComparator.h>
Inheritance diagram for moeoOneObjectiveComparator< MOEOT >:

Public Member Functions | |
| moeoOneObjectiveComparator (unsigned _obj) | |
| Ctor. | |
| const bool | operator() (const MOEOT &_moeo1, const MOEOT &_moeo2) |
| Returns true if _moeo1 is greater than _moeo2 on the obj objective. | |
Private Attributes | |
| unsigned | obj |
| the index of objective | |
Definition at line 48 of file moeoComparator.h.
| moeoOneObjectiveComparator< MOEOT >::moeoOneObjectiveComparator | ( | unsigned | _obj | ) | [inline] |
Ctor.
| _obj | the index of objective |
Definition at line 56 of file moeoComparator.h.
References moeoOneObjectiveComparator< MOEOT >::obj.
| const bool moeoOneObjectiveComparator< MOEOT >::operator() | ( | const MOEOT & | _moeo1, | |
| const MOEOT & | _moeo2 | |||
| ) | [inline] |
Returns true if _moeo1 is greater than _moeo2 on the obj objective.
| _moeo1 | the first solution | |
| _moeo2 | the second solution |
Definition at line 69 of file moeoComparator.h.
References moeoOneObjectiveComparator< MOEOT >::obj.
1.5.1