Robotics Library  0.7.0
Public Member Functions | Private Attributes | List of all members
rl::plan::KdtreeNearestNeighbors Class Reference

#include <KdtreeNearestNeighbors.h>

Inheritance diagram for rl::plan::KdtreeNearestNeighbors:
Inheritance graph
[legend]

Public Member Functions

 KdtreeNearestNeighbors (Model *model)
 
virtual ~KdtreeNearestNeighbors ()
 
void clear ()
 
bool empty () const
 
::boost::optional< ::std::size_t > getChecks () const
 
::std::size_t getSamples () const
 
::std::vector< NearestNeighbors::Neighbornearest (const NearestNeighbors::Value &query, const ::std::size_t &k, const bool &sorted=true) const
 
void push (const NearestNeighbors::Value &value)
 
void setChecks (const ::boost::optional< ::std::size_t > &checks)
 
void setSamples (const ::std::size_t &samples)
 
::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::KdtreeNearestNeighbors< Metriccontainer
 

Additional Inherited Members

- Public Types inherited from rl::plan::NearestNeighbors
typedef Metric::Distance Distance
 
typedef Metric::Value Value
 
typedef ::std::pair< Distance, ValueNeighbor
 

Constructor & Destructor Documentation

◆ KdtreeNearestNeighbors()

rl::plan::KdtreeNearestNeighbors::KdtreeNearestNeighbors ( Model model)

◆ ~KdtreeNearestNeighbors()

rl::plan::KdtreeNearestNeighbors::~KdtreeNearestNeighbors ( )
virtual

Member Function Documentation

◆ clear()

void rl::plan::KdtreeNearestNeighbors::clear ( )
virtual

◆ empty()

bool rl::plan::KdtreeNearestNeighbors::empty ( ) const
virtual

◆ getChecks()

boost::optional<::std::size_t > rl::plan::KdtreeNearestNeighbors::getChecks ( ) const

◆ getSamples()

std::size_t rl::plan::KdtreeNearestNeighbors::getSamples ( ) const

◆ nearest()

std::vector< NearestNeighbors::Neighbor > rl::plan::KdtreeNearestNeighbors::nearest ( const NearestNeighbors::Value query,
const ::std::size_t &  k,
const bool &  sorted = true 
) const
virtual

◆ push()

void rl::plan::KdtreeNearestNeighbors::push ( const NearestNeighbors::Value value)
virtual

◆ setChecks()

void rl::plan::KdtreeNearestNeighbors::setChecks ( const ::boost::optional< ::std::size_t > &  checks)

◆ setSamples()

void rl::plan::KdtreeNearestNeighbors::setSamples ( const ::std::size_t &  samples)

◆ size()

std::size_t rl::plan::KdtreeNearestNeighbors::size ( ) const
virtual

Member Data Documentation

◆ container

::rl::math::KdtreeNearestNeighbors<Metric> rl::plan::KdtreeNearestNeighbors::container
private

The documentation for this class was generated from the following files: