Marmote Core
The project aims at realizing the prototype of a software environment dedicated to modeling with Markov chains.
algorithmicSampler.h
1 #ifndef ALGORITHMICSAMPLER_H
2 #define ALGORITHMICSAMPLER_H
3 
9 
10  public:
11  virtual ~algorithmicSampler() {}
12 
18  virtual double sample() = 0;
19 
29  virtual void iidSample( int n, double* sample) = 0;
30 
31 };
32 #endif // ALGORITHMICSAMPLER_H
virtual double sample()=0
drawing a (pseudo)random value according to the distribution.
Abstraction for algorithms that produce samples of some unspecified distribution. ...
Definition: algorithmicSampler.h:8
virtual void iidSample(int n, double *sample)=0
drawing an i.i.d. sample from the distribution. The result is returned in an array (that must have be...