moeoCrowdingDistanceDiversityAssignment< MOEOT > Class Template Reference

Diversity assignment sheme based on crowding distance proposed in: K. More...

#include <moeoCrowdingDistanceDiversityAssignment.h>

Inheritance diagram for moeoCrowdingDistanceDiversityAssignment< MOEOT >:

moeoDiversityAssignment< MOEOT > eoUF< eoPop< MOEOT > &, void > eoFunctorBase moeoFrontByFrontCrowdingDistanceDiversityAssignment< MOEOT > List of all members.

Public Types

typedef MOEOT::ObjectiveVector ObjectiveVector
 the objective vector type of the solutions

Public Member Functions

double inf () const
 Returns a big value (regarded as infinite).
double tiny () const
 Returns a very small value that can be used to avoid extreme cases (where the min bound == the max bound).
void operator() (eoPop< MOEOT > &_pop)
 Computes diversity values for every solution contained in the population _pop.
void updateByDeleting (eoPop< MOEOT > &_pop, ObjectiveVector &_objVec)

Protected Member Functions

virtual void setDistances (eoPop< MOEOT > &_pop)
 Sets the distance values.

Detailed Description

template<class MOEOT>
class moeoCrowdingDistanceDiversityAssignment< MOEOT >

Diversity assignment sheme based on crowding distance proposed in: K.

Deb, A. Pratap, S. Agarwal, T. Meyarivan, "A Fast and Elitist Multi-Objective Genetic Algorithm: NSGA-II", IEEE Transactions on Evolutionary Computation, vol. 6, no. 2 (2002).

Definition at line 25 of file moeoCrowdingDistanceDiversityAssignment.h.


Member Function Documentation

template<class MOEOT>
void moeoCrowdingDistanceDiversityAssignment< MOEOT >::operator() ( eoPop< MOEOT > &  _pop  )  [inline, virtual]

Computes diversity values for every solution contained in the population _pop.

Parameters:
_pop the population

Implements eoUF< eoPop< MOEOT > &, void >.

Definition at line 55 of file moeoCrowdingDistanceDiversityAssignment.h.

References moeoCrowdingDistanceDiversityAssignment< MOEOT >::inf(), and moeoCrowdingDistanceDiversityAssignment< MOEOT >::setDistances().

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

Warning:
NOT IMPLEMENTED, DO NOTHING ! 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
Warning:
NOT IMPLEMENTED, DO NOTHING !

Implements moeoDiversityAssignment< MOEOT >.

Reimplemented in moeoFrontByFrontCrowdingDistanceDiversityAssignment< MOEOT >.

Definition at line 78 of file moeoCrowdingDistanceDiversityAssignment.h.

template<class MOEOT>
virtual void moeoCrowdingDistanceDiversityAssignment< MOEOT >::setDistances ( eoPop< MOEOT > &  _pop  )  [inline, protected, virtual]

Sets the distance values.

Parameters:
_pop the population

Reimplemented in moeoFrontByFrontCrowdingDistanceDiversityAssignment< MOEOT >.

Definition at line 90 of file moeoCrowdingDistanceDiversityAssignment.h.

References moeoCrowdingDistanceDiversityAssignment< MOEOT >::inf().

Referenced by moeoCrowdingDistanceDiversityAssignment< MOEOT >::operator()().


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