hpp::manipulation::graph::NodeHistogram Class Reference

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

Inheritance diagram for hpp::manipulation::graph::NodeHistogram:
Collaboration diagram for hpp::manipulation::graph::NodeHistogram:

List of all members.

Public Types

typedef
::hpp::statistics::Statistics
< NodeBin
Parent

Public Member Functions

 NodeHistogram (const graph::GraphPtr_t &graph)
 Constructor.
void add (const core::NodePtr_t &n)
 Insert an occurence of a value in the histogram.
std::ostream & print (std::ostream &os) const
const graph::GraphPtr_tconstraintGraph () const
virtual HistogramPtr_t clone () const

Member Typedef Documentation

typedef ::hpp::statistics::Statistics< NodeBin > hpp::manipulation::graph::NodeHistogram::Parent

Constructor & Destructor Documentation

Constructor.

Parameters:
graphThe constraint graph used to get the nodes from a configuration.

Member Function Documentation

Insert an occurence of a value in the histogram.

Implements hpp::manipulation::graph::Histogram.

std::ostream& hpp::manipulation::graph::NodeHistogram::print ( std::ostream &  os) const
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends