lppl  v2.0.0
node_t< D > Struct Template Reference

A fundamental data structure that includes address, distribution, sampled value type, score, whether the value was observed, and a markov process over interpretations. More...

#include "record.hpp"

Public Member Functions

std::string string () const
 Returns a string representation of the node, not including interpretation. More...
 

Public Attributes

distribution
 
node_interpretation interp
 
node_interpretation last_interp
 
double logprob
 
bool obs
 
DSType< D > value
 

Detailed Description

template<typename D>
struct node_t< D >

A fundamental data structure that includes address, distribution, sampled value type, score, whether the value was observed, and a markov process over interpretations.

Template Parameters
Dthe type of the distribution in the node; the value type is deduced from the distribution

The documentation for this struct was generated from the following file: