Gymbo
Public Member Functions | Public Attributes | List of all members
gymbo::DiscreteDist Struct Reference

Represents a discrete probability distribution. More...

#include <type.h>

Inheritance diagram for gymbo::DiscreteDist:
Inheritance graph
[legend]

Public Member Functions

 DiscreteDist ()
 Default constructor for DiscreteDist. More...
 

Public Attributes

std::vector< int > vals
 
std::vector< float > probs
 

Detailed Description

Represents a discrete probability distribution.

Constructor & Destructor Documentation

◆ DiscreteDist()

gymbo::DiscreteDist::DiscreteDist ( )
inline

Default constructor for DiscreteDist.

Probability of each value

Member Data Documentation

◆ probs

std::vector<float> gymbo::DiscreteDist::probs

◆ vals

std::vector<int> gymbo::DiscreteDist::vals

Vector to store possible discrete values.


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