Gymbo
|
Represents a discrete probability distribution. More...
#include <type.h>
Public Member Functions | |
DiscreteDist () | |
Default constructor for DiscreteDist. More... | |
Public Attributes | |
std::vector< int > | vals |
std::vector< float > | probs |
Represents a discrete probability distribution.
|
inline |
Default constructor for DiscreteDist.
Probability of each value
std::vector<float> gymbo::DiscreteDist::probs |
std::vector<int> gymbo::DiscreteDist::vals |
Vector to store possible discrete values.