lppl
v2.0.0
|
Creates an observe node in a graph_ir. More...
#include "graph.hpp"
Public Member Functions | |
graph_observe_node_construct (gr_pair< Ts... > &gr, std::string address, V value) | |
template<typename... Args> | |
graph_node< D > | operator() (Args &&... args) |
Constructs a observed graph node based on passed parent nodes or values. More... | |
Public Member Functions inherited from graph_node_construct< D, Ts... > | |
graph_node_construct (gr_pair< Ts... > &gr, std::string address, bool obs) | |
void | add_parents_children (graph_node< D > &node, Args &&... args) |
Public Attributes | |
V | value |
Public Attributes inherited from graph_node_construct< D, Ts... > | |
std::string | address |
gr_pair< Ts... > & | gr |
bool | obs |
Creates an observe node in a graph_ir.
D | Distribution type of the node |
V | Type of value to score against the distribution |
Ts | Types of distributions used in the probabilistic program |