|
Robotics Library
0.7.0
|
#include <LinearNearestNeighbors.h>

Public Member Functions | |
| LinearNearestNeighbors (Model *model) | |
| virtual | ~LinearNearestNeighbors () |
| void | clear () |
| bool | empty () const |
| ::std::vector< NearestNeighbors::Neighbor > | nearest (const NearestNeighbors::Value &query, const ::std::size_t &k, const bool &sorted=true) const |
| void | push (const NearestNeighbors::Value &value) |
| ::std::size_t | size () const |
Public Member Functions inherited from rl::plan::NearestNeighbors | |
| NearestNeighbors (const bool &transformed) | |
| virtual | ~NearestNeighbors () |
| bool | isTransformedDistance () const |
Private Attributes | |
| ::rl::math::LinearNearestNeighbors< Metric > | container |
Additional Inherited Members | |
Public Types inherited from rl::plan::NearestNeighbors | |
| typedef Metric::Distance | Distance |
| typedef Metric::Value | Value |
| typedef ::std::pair< Distance, Value > | Neighbor |
| rl::plan::LinearNearestNeighbors::LinearNearestNeighbors | ( | Model * | model | ) |
|
virtual |
|
virtual |
Implements rl::plan::NearestNeighbors.
|
virtual |
Implements rl::plan::NearestNeighbors.
|
virtual |
Implements rl::plan::NearestNeighbors.
|
virtual |
Implements rl::plan::NearestNeighbors.
|
virtual |
Implements rl::plan::NearestNeighbors.
|
private |