|
fmcs
v0.2.1
|
A minimal wrapper of a value that is tracked in a graph_ir. More...
#include "graph_distributions.hpp"
Public Member Functions | |
| Value (V value) | |
| double | logprob (V value_) |
| template<typename RNG > | |
| V | sample (RNG &) |
| std::string | string () const |
Public Attributes | |
| V | value |
A minimal wrapper of a value that is tracked in a graph_ir.
This models the value as the distribution \(p(v') = \delta( v' = v ) \), where \(v\) is the value passed to the constructor. Value nodes do not have parents.
| V | The type of the value to be tracked |