autoppl  v0.8
A C++ template library for probabilistic programming
ppl::expr::prog::ProgramNodeBase< ModelExpr > Struct Template Reference

#include <program.hpp>

Inheritance diagram for ppl::expr::prog::ProgramNodeBase< ModelExpr >:
ppl::expr::prog::ProgramNode< std::tuple< ModelExpr >, std::enable_if_t< util::is_model_expr_v< ModelExpr > > > ppl::expr::prog::ProgramNode< std::tuple< TPExpr, ModelExpr >, std::enable_if_t< util::is_var_expr_v< TPExpr > &&util::is_model_expr_v< ModelExpr > > >

Public Types

using model_t = ModelExpr
 

Public Member Functions

 ProgramNodeBase (const model_t &model)
 
auto & get_model ()
 
const auto & get_model () const
 

Protected Attributes

model_t model_
 

Member Typedef Documentation

◆ model_t

template<class ModelExpr >
using ppl::expr::prog::ProgramNodeBase< ModelExpr >::model_t = ModelExpr

Constructor & Destructor Documentation

◆ ProgramNodeBase()

template<class ModelExpr >
ppl::expr::prog::ProgramNodeBase< ModelExpr >::ProgramNodeBase ( const model_t model)
inline

Member Function Documentation

◆ get_model() [1/2]

template<class ModelExpr >
auto& ppl::expr::prog::ProgramNodeBase< ModelExpr >::get_model ( )
inline

◆ get_model() [2/2]

template<class ModelExpr >
const auto& ppl::expr::prog::ProgramNodeBase< ModelExpr >::get_model ( ) const
inline

Member Data Documentation

◆ model_

template<class ModelExpr >
model_t ppl::expr::prog::ProgramNodeBase< ModelExpr >::model_
protected

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