moeoObjectiveComparator< MOEOT > Class Template Reference

Functor allowing to compare two solutions according to their first objective value, then their second, and so on. More...

#include <moeoComparator.h>

Inheritance diagram for moeoObjectiveComparator< MOEOT >:

moeoComparator< MOEOT > eoBF< A1, A2, R > eoFunctorBase List of all members.

Public Member Functions

const bool operator() (const MOEOT &_moeo1, const MOEOT &_moeo2)
 Returns true if _moeo1 is greater than _moeo2 on the first objective, then on the second, and so on.

Detailed Description

template<class MOEOT>
class moeoObjectiveComparator< MOEOT >

Functor allowing to compare two solutions according to their first objective value, then their second, and so on.

Definition at line 30 of file moeoComparator.h.


Member Function Documentation

template<class MOEOT>
const bool moeoObjectiveComparator< MOEOT >::operator() ( const MOEOT &  _moeo1,
const MOEOT &  _moeo2 
) [inline]

Returns true if _moeo1 is greater than _moeo2 on the first objective, then on the second, and so on.

Parameters:
_moeo1 the first solution
_moeo2 the second solution

Definition at line 38 of file moeoComparator.h.


The documentation for this class was generated from the following file:
Generated on Tue Apr 17 16:53:22 2007 for ParadisEO-MOEO by  doxygen 1.5.1