1 #ifndef probdenfuncdraw_h 2 #define probdenfuncdraw_h 29 : pdf_(p) { reset(); }
33 inline int size()
const {
return vals_.size(); }
34 float value(
int,
bool redraw_if_used=
true)
const;
35 inline int useCount(
int i )
const {
return usecount_[i]; }
#define mExpClass(module)
Definition: commondefs.h:160
TypeSet< int > usecount_
Definition: probdenfuncdraw.h:44
Base class for Probability Density Functions.
Definition: probdenfunc.h:31
ProbDenFuncDraw(const ProbDenFunc &p)
Definition: probdenfuncdraw.h:28
const ProbDenFunc & pdf_
Definition: probdenfuncdraw.h:42
const TypeSet< float > & vals() const
Definition: probdenfuncdraw.h:38
Stores one draw of a probability density function.
Definition: probdenfuncdraw.h:24
const ProbDenFunc & pdf() const
Definition: probdenfuncdraw.h:37
int useCount(int i) const
Definition: probdenfuncdraw.h:35
int size() const
Definition: probdenfuncdraw.h:33
TypeSet< float > vals_
Definition: probdenfuncdraw.h:43