moeoObjectiveObjectiveVectorComparator< ObjectiveVector > Class Template Reference

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

#include <moeoObjectiveObjectiveVectorComparator.h>

Inheritance diagram for moeoObjectiveObjectiveVectorComparator< ObjectiveVector >:

moeoObjectiveVectorComparator< ObjectiveVector > eoBF< A1, A2, R > eoFunctorBase List of all members.

Public Member Functions

const bool operator() (const ObjectiveVector &_objectiveVector1, const ObjectiveVector &_objectiveVector2)
 Returns true if _objectiveVector1 < _objectiveVector2 on the first objective, then on the second, and so on.

Detailed Description

template<class ObjectiveVector>
class moeoObjectiveObjectiveVectorComparator< ObjectiveVector >

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

Definition at line 22 of file moeoObjectiveObjectiveVectorComparator.h.


Member Function Documentation

template<class ObjectiveVector>
const bool moeoObjectiveObjectiveVectorComparator< ObjectiveVector >::operator() ( const ObjectiveVector &  _objectiveVector1,
const ObjectiveVector &  _objectiveVector2 
) [inline]

Returns true if _objectiveVector1 < _objectiveVector2 on the first objective, then on the second, and so on.

Parameters:
_objectiveVector1 the first objective vector
_objectiveVector2 the second objective vector

Definition at line 31 of file moeoObjectiveObjectiveVectorComparator.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 26 15:13:04 2007 for ParadisEO-MOEO by  doxygen 1.4.7