#include <hpp/manipulation/graph/statistics.hh>
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_t & | constraintGraph () const |
virtual HistogramPtr_t | clone () const |
typedef ::hpp::statistics::Statistics< NodeBin > hpp::manipulation::graph::NodeHistogram::Parent |
hpp::manipulation::graph::NodeHistogram::NodeHistogram | ( | const graph::GraphPtr_t & | graph | ) |
Constructor.
graph | The constraint graph used to get the nodes from a configuration. |
void hpp::manipulation::graph::NodeHistogram::add | ( | const core::NodePtr_t & | n | ) | [virtual] |
Insert an occurence of a value in the histogram.
Implements hpp::manipulation::graph::Histogram.
virtual HistogramPtr_t hpp::manipulation::graph::NodeHistogram::clone | ( | ) | const [virtual] |
Implements hpp::manipulation::graph::Histogram.
std::ostream& hpp::manipulation::graph::NodeHistogram::print | ( | std::ostream & | os | ) | const |