Rosetta 3.3
Public Member Functions
numeric::histograms::TwoDHistogram< key1, key2 > Class Template Reference

#include <TwoDHistogram.hh>

Collaboration diagram for numeric::histograms::TwoDHistogram< key1, key2 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TwoDHistogram ()
void increase_count (std::pair< key1, key2 > paired_keys)
 increase the counts of a histogram using paired keys
void increase_count (key1 key_1, key2 key_2)
 overflow function to increase count taking 2 keys to increment counts of histogram
void insert_data (key1 key_1, key2 key_2, platform::Size counts)
 insert data to the histogram
void insert_data (std::pair< key1, key2 > paired_keys, platform::Size counts)
 overload function to insert data to the histogram
platform::Size lookup_counts (key1 key_1, key2 key_2)
 look up data based upon your keys
platform::Size lookup_counts (std::pair< key1, key2 > paired_keys)
 overload function to lookup counts

template<typename key1, typename key2>
class numeric::histograms::TwoDHistogram< key1, key2 >


Constructor & Destructor Documentation

template<typename key1 , typename key2 >
numeric::histograms::TwoDHistogram< key1, key2 >::TwoDHistogram ( ) [inline]

Member Function Documentation

template<typename key1 , typename key2 >
void numeric::histograms::TwoDHistogram< key1, key2 >::increase_count ( std::pair< key1, key2 >  paired_keys) [inline]

increase the counts of a histogram using paired keys

template<typename key1 , typename key2 >
void numeric::histograms::TwoDHistogram< key1, key2 >::increase_count ( key1  key_1,
key2  key_2 
) [inline]

overflow function to increase count taking 2 keys to increment counts of histogram

template<typename key1 , typename key2 >
void numeric::histograms::TwoDHistogram< key1, key2 >::insert_data ( std::pair< key1, key2 >  paired_keys,
platform::Size  counts 
) [inline]

overload function to insert data to the histogram

template<typename key1 , typename key2 >
void numeric::histograms::TwoDHistogram< key1, key2 >::insert_data ( key1  key_1,
key2  key_2,
platform::Size  counts 
) [inline]

insert data to the histogram

template<typename key1 , typename key2 >
platform::Size numeric::histograms::TwoDHistogram< key1, key2 >::lookup_counts ( std::pair< key1, key2 >  paired_keys) [inline]

overload function to lookup counts

template<typename key1 , typename key2 >
platform::Size numeric::histograms::TwoDHistogram< key1, key2 >::lookup_counts ( key1  key_1,
key2  key_2 
) [inline]

look up data based upon your keys


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines