lppl  v2.0.0

◆ value_g()

template<typename V , typename... Ts>
graph_node<Value<V> > value_g ( gr_pair< Ts... > &  gr,
std::string &&  address,
value 
)

Creates a value node and places it in the graph.

Template Parameters
VType of value to be tracked
TsTypes of distributions in the probabilistic program
Parameters
gra graph_ir and a record
addressthe address at which to store the created node
valuethe value to be tracked
Returns
graph_node<Value<V>>