Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
Histogram Class Reference

#include <histogram.hh>

Collaboration diagram for Histogram:
Collaboration graph

Public Member Functions

 Histogram ()
 
 Histogram (int numserver, int numbin)
 
 ~Histogram ()
 
void initialize ()
 
void init_count ()
 
unsigned get_boundary (int index)
 
void set_boundary (int index, unsigned int boundary)
 
double get_count (int index)
 
void set_count (int index, double count)
 
int get_index (unsigned query)
 
int count_query (unsigned query)
 
void updateboundary ()
 
uint32_t random_within_boundaries (unsigned int)
 
void set_numbin (int num)
 
int get_numbin ()
 
void set_numserver (int num)
 
int get_numserver ()
 

Constructor & Destructor Documentation

Histogram::Histogram ( )
Histogram::Histogram ( int  numserver,
int  numbin 
)
Histogram::~Histogram ( )

Member Function Documentation

int Histogram::count_query ( unsigned  query)
unsigned Histogram::get_boundary ( int  index)
double Histogram::get_count ( int  index)
int Histogram::get_index ( unsigned  query)
int Histogram::get_numbin ( )
int Histogram::get_numserver ( )
void Histogram::init_count ( )
void Histogram::initialize ( )
uint32_t Histogram::random_within_boundaries ( unsigned  int)
void Histogram::set_boundary ( int  index,
unsigned int  boundary 
)
void Histogram::set_count ( int  index,
double  count 
)
void Histogram::set_numbin ( int  num)
void Histogram::set_numserver ( int  num)
void Histogram::updateboundary ( )

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