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) |
Given a reference front R and an approximation F, calculates the multiplicative approximation quality of F.
Definition at line 49 of file MultiplicativeEpsilonIndicator.h.
|
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.
|
inline |
Executes the algorithm for the given ranges of individuals and returns the multiplicative 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] | e | Extractor 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.
|
inline |
Definition at line 109 of file MultiplicativeEpsilonIndicator.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 103 of file MultiplicativeEpsilonIndicator.h.