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

#include <GnatNearestNeighbors.h>

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

Public Member Functions

 GnatNearestNeighbors (Model *model)
 
virtual ~GnatNearestNeighbors ()
 
void clear ()
 
bool empty () const
 
::boost::optional< ::std::size_t > getChecks () const
 
::std::size_t getNodeDataMax () const
 
::std::size_t getNodeDegree () const
 
::std::size_t getNodeDegreeMax () const
 
::std::size_t getNodeDegreeMin () 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 seed (const ::std::mt19937::result_type &value)
 
void setChecks (const ::boost::optional< ::std::size_t > &checks)
 
void setNodeDataMax (const ::std::size_t &nodeDataMax)
 
void setNodeDegree (const ::std::size_t &nodeDegree)
 
void setNodeDegreeMax (const ::std::size_t &nodeDegreeMax)
 
void setNodeDegreeMin (const ::std::size_t &nodeDegreeMin)
 
::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::GnatNearestNeighbors< 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

◆ GnatNearestNeighbors()

rl::plan::GnatNearestNeighbors::GnatNearestNeighbors ( Model model)

◆ ~GnatNearestNeighbors()

rl::plan::GnatNearestNeighbors::~GnatNearestNeighbors ( )
virtual

Member Function Documentation

◆ clear()

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

◆ empty()

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

◆ getChecks()

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

◆ getNodeDataMax()

std::size_t rl::plan::GnatNearestNeighbors::getNodeDataMax ( ) const

◆ getNodeDegree()

std::size_t rl::plan::GnatNearestNeighbors::getNodeDegree ( ) const

◆ getNodeDegreeMax()

std::size_t rl::plan::GnatNearestNeighbors::getNodeDegreeMax ( ) const

◆ getNodeDegreeMin()

std::size_t rl::plan::GnatNearestNeighbors::getNodeDegreeMin ( ) const

◆ nearest()

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

◆ push()

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

◆ seed()

void rl::plan::GnatNearestNeighbors::seed ( const ::std::mt19937::result_type &  value)

◆ setChecks()

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

◆ setNodeDataMax()

void rl::plan::GnatNearestNeighbors::setNodeDataMax ( const ::std::size_t &  nodeDataMax)

◆ setNodeDegree()

void rl::plan::GnatNearestNeighbors::setNodeDegree ( const ::std::size_t &  nodeDegree)

◆ setNodeDegreeMax()

void rl::plan::GnatNearestNeighbors::setNodeDegreeMax ( const ::std::size_t &  nodeDegreeMax)

◆ setNodeDegreeMin()

void rl::plan::GnatNearestNeighbors::setNodeDegreeMin ( const ::std::size_t &  nodeDegreeMin)

◆ size()

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

Member Data Documentation

◆ container

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

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