aimstil  5.0.5
til::MapHistogram_def Class Reference

Compute a histogram by means of a map. More...

#include <cathier/histogram.h>

Inheritance diagram for til::MapHistogram_def:
Collaboration diagram for til::MapHistogram_def:

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_NonerecordPolicy () 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...
 

Detailed Description

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.

Member Typedef Documentation

◆ Map

typedef std::map<std::size_t, std::size_t> til::MapHistogram_def::Map

Definition at line 95 of file histogram.h.


The documentation for this class was generated from the following file: