1 #ifndef _TIL_HISTOGRAM_H_ 2 #define _TIL_HISTOGRAM_H_ 8 #include <boost/call_traits.hpp> 9 #include <boost/type_traits.hpp> 10 #include <boost/utility/enable_if.hpp> 54 typedef std::map<std::size_t, std::size_t >
Map;
59 Map::iterator i = m.find(value);
95 typedef std::map<std::size_t, std::size_t>
Map;
122 void accumulate(
float value);
124 void save(std::string filename,
float valueFactor);
void operator()(Map &m, const std::size_t &value)
void print(const Affine< T > &a)
void print_def(const MapHistogram_def &h)
void save_def(const MapHistogram_def &h, std::string filename, float valueFactor)
Belongs to package Box Do not include directly, include til/Box.h instead.
Compute a histogram by means of a map.
A class to accumulate value.
Histogram accumulation policy for Accumulator.
std::map< std::size_t, std::size_t > Map
std::map< std::size_t, std::size_t > Map