|
aimstil
5.0.5
|
Compute a histogram by means of a map. More...
#include <cathier/histogram.h>


Public Types | |
| typedef std::map< std::size_t, std::size_t > | Map |
Additional Inherited Members | |
Public Member Functions inherited from til::Accumulator< std::size_t, std::map< std::size_t, std::size_t >, policy::Accumulation_MapHistogram_def > | |
| Accumulator () | |
| const std::map< std::size_t, std::size_t > & | get () const |
| Get accumulation result. More... | |
| const policy::AccumulatorRecord_None & | recordPolicy () const |
| Get record policy. More... | |
| void | clear () |
| clear accumulated values More... | |
| void | accumulate (typename boost::call_traits< std::size_t >::param_type value) |
| Accumulate a value. More... | |
| boost::enable_if< boost::is_same< typename value_type_of< TIterator >::type, std::size_t > >::type | accumulate (TIterator begin, TIterator end) |
| Accumulate values spanned by given range. More... | |
Compute a histogram by means of a map.
There's no binning (yet). I guess this is temporary until I have a need for a better, binning histogram. Note that binning policy should be independant from storage policy. I could have binning and still using maps, or not.
Definition at line 91 of file histogram.h.
| typedef std::map<std::size_t, std::size_t> til::MapHistogram_def::Map |
Definition at line 95 of file histogram.h.