shark::InvertedGenerationalDistance Struct Reference

Inverted generational distance for comparing Pareto-front approximations. More...

#include <shark/Algorithms/DirectSearch/Indicators/InvertedGenerationalDistance.h>

Public Member Functions

template<typename IteratorTypeA , typename IteratorTypeB >
double operator() (IteratorTypeA itPF, IteratorTypeA itePF, IteratorTypeB itRF, IteratorTypeB iteRF)
 
template<typename Extractor , typename ParetofrontType >
std::size_t leastContributor (Extractor extractor, const ParetofrontType &front)
 Given a pareto front, returns the index of the points which is the least contributer. More...
 
template<typename Extractor , typename PointSet >
void updateInternals (Extractor extractor, PointSet const &set)
 Updates the internal variables of the indicator using a whole population. More...
 
template<typename Archive >
void serialize (Archive &archive, const unsigned int version)
 

Detailed Description

Inverted generational distance for comparing Pareto-front approximations.

Definition at line 46 of file InvertedGenerationalDistance.h.

Member Function Documentation

§ leastContributor()

template<typename Extractor , typename ParetofrontType >
std::size_t shark::InvertedGenerationalDistance::leastContributor ( Extractor  extractor,
const ParetofrontType &  front 
)
inline

Given a pareto front, returns the index of the points which is the least contributer.

Definition at line 76 of file InvertedGenerationalDistance.h.

References SHARK_PARALLEL_FOR.

§ operator()()

template<typename IteratorTypeA , typename IteratorTypeB >
double shark::InvertedGenerationalDistance::operator() ( IteratorTypeA  itPF,
IteratorTypeA  itePF,
IteratorTypeB  itRF,
IteratorTypeB  iteRF 
)
inline

§ serialize()

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

Definition at line 98 of file InvertedGenerationalDistance.h.

§ updateInternals()

template<typename Extractor , typename PointSet >
void shark::InvertedGenerationalDistance::updateInternals ( Extractor  extractor,
PointSet const &  set 
)
inline

Updates the internal variables of the indicator using a whole population.

Empty for this Indicator

Parameters
extractorFunctor returning the fitness values
setThe set of points.

Definition at line 92 of file InvertedGenerationalDistance.h.


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