lppl  v2.0.0
default_translations.hpp File Reference
#include <cassert>
#include <string>
#include <distributions.hpp>
#include <distributions/graph_distributions.hpp>

Classes

struct  auxiliary_info< D >
 
struct  auxiliary_info< Categorical >
 
struct  node_spec
 
struct  translation< D >
 
struct  translation< Categorical >
 
struct  translation< Gamma >
 
struct  translation< Normal >
 
struct  translation< Value< double > >
 
struct  translation< Value< int > >
 
struct  translation< Value< unsigned > >
 
struct  translation< Value< unsigned long > >
 

Macros

#define GLPPL_NODE_TYPE_NULL   "NODE_TYPE_NULL"
 

Functions

bool all_param (std::vector< std::string > &v)
 
bool any_param (std::vector< std::string > &v)
 
template<typename D >
std::string node_type ()
 
template<>
std::string node_type< Categorical > ()
 
template<>
std::string node_type< Gamma > ()
 
template<>
std::string node_type< Normal > ()
 
template<class D >
std::string parent_params (graph_node< D > &gn)
 
template<typename D >
node_spec translate_node (graph_node< D > &gn)
 

Detailed Description

Author
David Rushing Dewhurst (drd@d.nosp@m.avid.nosp@m.rushi.nosp@m.ngde.nosp@m.whurs.nosp@m.t.co.nosp@m.m)
Version
0.2.0
Date
2023-01-18