Implementation of the exact hypervolume calculation in 2 dimensions. More...
#include <shark/Algorithms/DirectSearch/Operators/Hypervolume/HypervolumeCalculator2D.h>
| Public Member Functions | |
| template<typename Set , typename VectorType > | |
| double | operator() (Set const &points, VectorType const &refPoint) | 
| Executes the algorithm. | |
Implementation of the exact hypervolume calculation in 2 dimensions.
The algorithm has complexity n log(n) and works by ordering the data by the first dimension and then computing the upper riemann sum skipping dominated points
Definition at line 45 of file HypervolumeCalculator2D.h.
| 
 | inline | 
Executes the algorithm.
| [in] | points | The set \(S\) of points for which to compute the volume | 
| [in] | refPoint | The reference point \(\vec{r} \in \mathbb{R}^2\) for the hypervolume calculation, needs to fulfill: \( \forall s \in S: s \preceq \vec{r}\). . | 
Definition at line 51 of file HypervolumeCalculator2D.h.
References SIZE_CHECK.