#include <result_set.h>
Public Member Functions | |
void | addPoint (DistanceType dist, size_t index) |
void | clear () |
bool | full () const |
RadiusUniqueResultSet (DistanceType radius) | |
DistanceType | worstDist () const |
Private Types | |
typedef UniqueResultSet < DistanceType >::DistIndex | DistIndex |
Private Attributes | |
DistanceType | radius_ |
Class that holds the radius nearest neighbors It is more accurate than RadiusResult as it is not limited in the number of neighbors
Definition at line 844 of file result_set.h.
typedef UniqueResultSet<DistanceType>::DistIndex rtflann::RadiusUniqueResultSet< DistanceType >::DistIndex [private] |
Definition at line 890 of file result_set.h.
rtflann::RadiusUniqueResultSet< DistanceType >::RadiusUniqueResultSet | ( | DistanceType | radius | ) | [inline] |
Constructor
capacity | the number of neighbors to store at max |
Definition at line 850 of file result_set.h.
void rtflann::RadiusUniqueResultSet< DistanceType >::addPoint | ( | DistanceType | dist, |
size_t | index | ||
) | [inline, virtual] |
Add a possible candidate to the best neighbors
dist | distance for that neighbor |
index | index of that neighbor |
Implements rtflann::ResultSet< DistanceType >.
Definition at line 860 of file result_set.h.
void rtflann::RadiusUniqueResultSet< DistanceType >::clear | ( | ) | [inline] |
Remove all elements in the set
Definition at line 867 of file result_set.h.
bool rtflann::RadiusUniqueResultSet< DistanceType >::full | ( | ) | const [inline, virtual] |
Check the status of the set
Reimplemented from rtflann::UniqueResultSet< DistanceType >.
Definition at line 876 of file result_set.h.
DistanceType rtflann::RadiusUniqueResultSet< DistanceType >::worstDist | ( | ) | const [inline, virtual] |
The distance of the furthest neighbor If we don't have enough neighbors, it returns the max possible value
Reimplemented from rtflann::UniqueResultSet< DistanceType >.
Definition at line 885 of file result_set.h.
DistanceType rtflann::RadiusUniqueResultSet< DistanceType >::radius_ [private] |
The furthest distance a neighbor can be
Definition at line 895 of file result_set.h.