lppl  v2.0.0

◆ sample_statement() [1/2]

template<typename D >
std::string sample_statement ( graph_node< D > &  gn,
std::string  program_name,
bool  observed = false 
)

Translate an unobserved node into corresponding ccyan sample semantics.

Template Parameters
DType of distributino to be translated
Parameters
gnthe graph node to be translated
program_namethe name of the program
observedis the node in the static set of ccyan observed nodes?
Returns
std::string