Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
MonteCarlo::Histogram Struct Reference

#include <montecarlo.h>

Collaboration diagram for MonteCarlo::Histogram:
Collaboration graph

Public Member Functions

 Histogram ()
 
void add (size_t index, double value)
 
Histogramoperator+= (const Histogram &r)
 

Public Attributes

std::vector< size_t > acc
 
size_t N
 

Detailed Description

Definition at line 31 of file montecarlo.h.

Constructor & Destructor Documentation

MonteCarlo::Histogram::Histogram ( )
inline

Definition at line 33 of file montecarlo.h.

Member Function Documentation

void MonteCarlo::Histogram::add ( size_t  index,
double  value 
)
inline

Definition at line 37 of file montecarlo.h.

Histogram& MonteCarlo::Histogram::operator+= ( const Histogram r)
inline

Definition at line 46 of file montecarlo.h.

References acc, and N.

Member Data Documentation

std::vector<size_t> MonteCarlo::Histogram::acc

Definition at line 57 of file montecarlo.h.

Referenced by operator+=().

size_t MonteCarlo::Histogram::N

Definition at line 58 of file montecarlo.h.

Referenced by operator+=().


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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:59 for Sequence Chart Studio by  doxygen