hpp::manipulation::graph::LeafBin Class Reference

This class is used to do statistics on the roadmap. More...

#include <hpp/manipulation/graph/statistics.hh>

Inheritance diagram for hpp::manipulation::graph::LeafBin:
[legend]
Collaboration diagram for hpp::manipulation::graph::LeafBin:
[legend]

Public Types

typedef ::hpp::statistics::Bin Parent
 
typedef std::list< RoadmapNodePtr_tRoadmapNodes_t
 

Public Member Functions

 LeafBin (const vector_t &v, value_type *threshold_)
 
void push_back (const RoadmapNodePtr_t &n)
 
bool operator< (const LeafBin &rhs) const
 
bool operator== (const LeafBin &rhs) const
 
const vector_tvalue () const
 
std::ostream & print (std::ostream &os) const
 
unsigned int numberOfObsOutOfConnectedComponent (const core::ConnectedComponentPtr_t &cc) const
 
const RoadmapNodes_tnodes () const
 
- Public Member Functions inherited from hpp::statistics::Bin
const std::size_t & freq () const
 
std::size_t operator++ ()
 
std::size_t operator++ (int)
 

Additional Inherited Members

- Protected Member Functions inherited from hpp::statistics::Bin
 Bin ()
 

Detailed Description

This class is used to do statistics on the roadmap.

It keeps a track of which leaves of a foliation have been visited.

Member Typedef Documentation

Constructor & Destructor Documentation

hpp::manipulation::graph::LeafBin::LeafBin ( const vector_t v,
value_type threshold_ 
)

Member Function Documentation

const RoadmapNodes_t& hpp::manipulation::graph::LeafBin::nodes ( ) const
unsigned int hpp::manipulation::graph::LeafBin::numberOfObsOutOfConnectedComponent ( const core::ConnectedComponentPtr_t cc) const
bool hpp::manipulation::graph::LeafBin::operator< ( const LeafBin rhs) const
bool hpp::manipulation::graph::LeafBin::operator== ( const LeafBin rhs) const
std::ostream& hpp::manipulation::graph::LeafBin::print ( std::ostream &  os) const
virtual

Reimplemented from hpp::statistics::Bin.

void hpp::manipulation::graph::LeafBin::push_back ( const RoadmapNodePtr_t n)
const vector_t& hpp::manipulation::graph::LeafBin::value ( ) const