#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 |
Public Member Functions inherited from rtflann::UniqueResultSet< DistanceType > | |
void | copy (size_t *indices, DistanceType *dist, int n_neighbors, bool sorted=true) |
size_t | size () const |
UniqueResultSet () | |
Public Member Functions inherited from rtflann::ResultSet< DistanceType > | |
virtual | ~ResultSet () |
Private Types | |
typedef UniqueResultSet< DistanceType >::DistIndex | DistIndex |
Private Attributes | |
DistanceType | radius_ |
Additional Inherited Members | |
Protected Attributes inherited from rtflann::UniqueResultSet< DistanceType > | |
std::set< DistIndex > | dist_indices_ |
bool | is_full_ |
DistanceType | worst_distance_ |
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.
|
private |
Definition at line 890 of file result_set.h.
|
inline |
Constructor
capacity | the number of neighbors to store at max |
Definition at line 850 of file result_set.h.
|
inlinevirtual |
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.
|
inline |
Remove all elements in the set
Definition at line 867 of file result_set.h.
|
inlinevirtual |
Check the status of the set
Reimplemented from rtflann::UniqueResultSet< DistanceType >.
Definition at line 876 of file result_set.h.
|
inlinevirtual |
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.
|
private |
The furthest distance a neighbor can be
Definition at line 895 of file result_set.h.