shark::MultiplicativeEpsilonIndicator Struct Reference

Given a reference front R and an approximation F, calculates the multiplicative approximation quality of F. More...

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

Public Member Functions

template<typename IteratorTypeA , typename IteratorTypeB , typename Extractor >
double operator() (IteratorTypeA itPF, IteratorTypeA itePF, IteratorTypeB itRF, IteratorTypeB iteRF, Extractor &e)
 Executes the algorithm for the given ranges of individuals and returns the multiplicative approximation ratio. More...
 
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

Given a reference front R and an approximation F, calculates the multiplicative approximation quality of F.

Definition at line 49 of file MultiplicativeEpsilonIndicator.h.

Member Function Documentation

§ leastContributor()

template<typename Extractor , typename ParetofrontType >
std::size_t shark::MultiplicativeEpsilonIndicator::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 87 of file MultiplicativeEpsilonIndicator.h.

References SHARK_PARALLEL_FOR.

§ operator()()

template<typename IteratorTypeA , typename IteratorTypeB , typename Extractor >
double shark::MultiplicativeEpsilonIndicator::operator() ( IteratorTypeA  itPF,
IteratorTypeA  itePF,
IteratorTypeB  itRF,
IteratorTypeB  iteRF,
Extractor &  e 
)
inline

Executes the algorithm for the given ranges of individuals and returns the multiplicative approximation ratio.

Parameters
[in]itPFIterator pointing to the first valid individual of the front approximation.
[in]itePFIterator pointing behind the last valid individual of the front approximation.
[in]itRFIterator pointing to the first valid individual of the reference front.
[in]iteRFIterator pointing behind the last valid individual of the reference front.
[in]eExtractor instance applied to the elements in the comtainer.

Definition at line 65 of file MultiplicativeEpsilonIndicator.h.

References shark::blas::max(), shark::blas::min(), and SIZE_CHECK.

§ serialize()

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

Definition at line 109 of file MultiplicativeEpsilonIndicator.h.

§ updateInternals()

template<typename Extractor , typename PointSet >
void shark::MultiplicativeEpsilonIndicator::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 103 of file MultiplicativeEpsilonIndicator.h.


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