|
Gymbo
|
Represents a bernoulli distribution derived from DiscreteDist. More...
#include <type.h>


Public Member Functions | |
| BernoulliDist (float p) | |
Public Member Functions inherited from gymbo::DiscreteDist | |
| DiscreteDist () | |
| Default constructor for DiscreteDist. More... | |
Public Attributes | |
| float | p |
Public Attributes inherited from gymbo::DiscreteDist | |
| std::vector< int > | vals |
| std::vector< float > | probs |
Represents a bernoulli distribution derived from DiscreteDist.
|
inline |
| float gymbo::BernoulliDist::p |
The probability of occurrance