hpp-statistics 7.0.0 Classes for doing statistics. |
#include <hpp/statistics/bin.hh>

Public Member Functions | |
| const std::size_t & | freq () const |
| Return the number of element in the bin. | |
| std::size_t | operator++ () |
| std::size_t | operator++ (int) |
| virtual std::ostream & | print (std::ostream &os) const |
| Print the bin. | |
| virtual std::ostream & | printValue (std::ostream &os) const =0 |
| Print the inner value of the bin. | |
Protected Member Functions | |
| Bin () | |
| Constructor. | |
| virtual | ~Bin () |
Abstract class representing a bin.
Bins are use for statistics. They keep the number of of apparition of a given value. Inherited class should also implement comparison and equality operators.
| inlineprotected |
Constructor.
| inlineprotectedvirtual |
| inline |
Return the number of element in the bin.
| inline |
Add an occurence
| inline |
Add an occurence
| inlinevirtual |
Print the bin.
| pure virtual |
Print the inner value of the bin.