|
fmcs
v0.2.1
|
A fundamental data structure of which a graph intermediate representation is composed. More...
#include "graph.hpp"
Public Member Functions | |
| double | logprob (DSType< D > value) |
| Returns the log probability of the value scored against the node's distribution. More... | |
| template<typename RNG > | |
| DSType< D > | sample (RNG &rng) |
| Returns a sample from the node's distribution. More... | |
| std::string | string () const |
Public Attributes | |
| std::string | address |
| std::vector< std::string > | children |
| D | distribution |
| bool | obs |
| std::vector< std::string > | parents |
| DSType< D > | value |
A fundamental data structure of which a graph intermediate representation is composed.
| D |