shark::IndicatorBasedSelection< Indicator > Struct Template Reference

Implements the well-known indicator-based selection strategy. More...

#include <shark/Algorithms/DirectSearch/Operators/Selection/IndicatorBasedSelection.h>

Public Member Functions

template<typename PopulationType >
void operator() (PopulationType &population, std::size_t mu)
 Executes the algorithm and assigns each member of the population its level non-dominance (rank) and its individual contribution to the front it belongs to (share). More...
 
template<typename Archive >
void serialize (Archive &archive, const unsigned int version)
 Stores/restores the serializer's state. More...
 

Public Attributes

Indicator m_indicator
 Instance of the second level sorting criterion. More...
 

Detailed Description

template<typename Indicator>
struct shark::IndicatorBasedSelection< Indicator >

Implements the well-known indicator-based selection strategy.

See Kalyanmoy Deb and Amrit Pratap and Sameer Agarwal and T. Meyarivan, A Fast Elitist Multi-Objective Genetic Algorithm: NSGA-II, IEEE Transactions on Evolutionary Computation Year 2000, Volume 6, p. 182-197

Template Parameters
IndicatorThe second-level sorting criterion.

Definition at line 55 of file IndicatorBasedSelection.h.

Member Function Documentation

§ operator()()

template<typename Indicator>
template<typename PopulationType >
void shark::IndicatorBasedSelection< Indicator >::operator() ( PopulationType &  population,
std::size_t  mu 
)
inline

Executes the algorithm and assigns each member of the population its level non-dominance (rank) and its individual contribution to the front it belongs to (share).

Parameters
[in,out]populationThe population to be ranked.
[in,out]muthe number of individuals to select

Definition at line 107 of file IndicatorBasedSelection.h.

§ serialize()

template<typename Indicator>
template<typename Archive >
void shark::IndicatorBasedSelection< Indicator >::serialize ( Archive &  archive,
const unsigned int  version 
)
inline

Stores/restores the serializer's state.

Template Parameters
ArchiveType of the archive.
Parameters
[in,out]archiveThe archive to serialize to.
[in]versionnumber, currently unused.

Definition at line 156 of file IndicatorBasedSelection.h.

Member Data Documentation

§ m_indicator

template<typename Indicator>
Indicator shark::IndicatorBasedSelection< Indicator >::m_indicator

The documentation for this struct was generated from the following file: