Given a reference front R and an approximation F, calculates the additive approximation quality of F. More...
#include <shark/Algorithms/DirectSearch/Indicators/AdditiveEpsilonIndicator.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 additive approximation ratio. More... | |
template<typename Extractor , typename ParetofrontType > | |
unsigned int | 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) |
Given a reference front R and an approximation F, calculates the additive approximation quality of F.
See the following reference for further details:
Definition at line 54 of file AdditiveEpsilonIndicator.h.
|
inline |
Given a pareto front, returns the index of the points which is the least contributer.
Definition at line 86 of file AdditiveEpsilonIndicator.h.
References shark::blas::max(), and SHARK_PARALLEL_FOR.
|
inline |
Executes the algorithm for the given ranges of individuals and returns the additive approximation ratio.
[in] | itPF | Iterator pointing to the first valid individual of the front approximation. |
[in] | itePF | Iterator pointing behind the last valid individual of the front approximation. |
[in] | itRF | Iterator pointing to the first valid individual of the reference front. |
[in] | iteRF | Iterator pointing behind the last valid individual of the reference front. |
[in,out] | e | Extractor instance that maps elements of the set to \(\mathbb{R}^d\). |
Definition at line 70 of file AdditiveEpsilonIndicator.h.
References shark::blas::max(), shark::blas::min(), and SIZE_CHECK.
|
inline |
Definition at line 114 of file AdditiveEpsilonIndicator.h.
|
inline |
Updates the internal variables of the indicator using a whole population.
Empty for this Indicator
extractor | Functor returning the fitness values |
set | The set of points. |
Definition at line 108 of file AdditiveEpsilonIndicator.h.