shark::BoundingBoxComputer< Set >::VolumeComparator Struct Reference

Compares points based on their contributed volume. More...

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

Public Member Functions

template<typename Iterator >
bool operator() (Iterator i1, Iterator i2)
 Compares points based on their contributed volume. More...
 

Detailed Description

template<typename Set>
struct shark::BoundingBoxComputer< Set >::VolumeComparator

Compares points based on their contributed volume.

Definition at line 108 of file LeastContributorApproximator.h.

Member Function Documentation

§ operator()()

template<typename Set>
template<typename Iterator >
bool shark::BoundingBoxComputer< Set >::VolumeComparator::operator() ( Iterator  i1,
Iterator  i2 
)
inline

Compares points based on their contributed volume.

Returns
true if the volume contributed by i1 is larger than the volume contributed by i2, false otherwise.

Definition at line 114 of file LeastContributorApproximator.h.


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