moeoDiversityAssignment< MOEOT > Class Template Reference

Functor that sets the diversity values of a whole population. More...

#include <moeoDiversityAssignment.h>

Inheritance diagram for moeoDiversityAssignment< MOEOT >:

eoUF< eoPop< MOEOT > &, void > eoFunctorBase moeoCrowdingDistanceDiversityAssignment< MOEOT > moeoDummyDiversityAssignment< MOEOT > List of all members.

Public Types

typedef MOEOT::ObjectiveVector ObjectiveVector
 The type for objective vector.

Public Member Functions

virtual void updateByDeleting (eoPop< MOEOT > &_pop, ObjectiveVector &_objVec)=0
 Updates the diversity values of the whole population _pop by taking the deletion of the objective vector _objVec into account.
void updateByDeleting (eoPop< MOEOT > &_pop, MOEOT &_moeo)
 Updates the diversity values of the whole population _pop by taking the deletion of the individual _moeo into account.

Detailed Description

template<class MOEOT>
class moeoDiversityAssignment< MOEOT >

Functor that sets the diversity values of a whole population.

Definition at line 23 of file moeoDiversityAssignment.h.


Member Function Documentation

template<class MOEOT>
virtual void moeoDiversityAssignment< MOEOT >::updateByDeleting ( eoPop< MOEOT > &  _pop,
ObjectiveVector _objVec 
) [pure virtual]

Updates the diversity values of the whole population _pop by taking the deletion of the objective vector _objVec into account.

Parameters:
_pop the population
_objVec the objective vector

Implemented in moeoCrowdingDistanceDiversityAssignment< MOEOT >, and moeoDummyDiversityAssignment< MOEOT >.

Referenced by moeoDiversityAssignment< MOEOT >::updateByDeleting().

template<class MOEOT>
void moeoDiversityAssignment< MOEOT >::updateByDeleting ( eoPop< MOEOT > &  _pop,
MOEOT &  _moeo 
) [inline]

Updates the diversity values of the whole population _pop by taking the deletion of the individual _moeo into account.

Parameters:
_pop the population
_moeo the individual

Definition at line 44 of file moeoDiversityAssignment.h.

References moeoDiversityAssignment< MOEOT >::updateByDeleting().


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