|
fmcs
v0.2.1
|
Universal base class for inference methods. More...
#include "inference.hpp"
Public Member Functions | |
| Inference (pp_t< I, O, Ts... > f, Q< V, O, Ts... > &queryer, inf_options_t opts) | |
| template<template< typename, typename, typename, template< class, class, class... > class, typename... > class G = A> | |
| std::enable_if_t< std::is_same_v< typename has_proposal< G >::type, No >, V > | operator() (I &input) |
| Runs the specified inference algorithm with the specified queryer. More... | |
| template<template< typename, typename, typename, template< class, class, class... > class, typename... > class G = A> | |
| std::enable_if_t< std::is_same_v< typename has_proposal< G >::type, Endog >, V > | operator() (I &input, endog_proposal_t< Ts... > &proposal) |
| Runs the specified inference algorithm with the specified queryer using the specified proposal distribution. More... | |
| template<template< typename, typename, typename, template< class, class, class... > class, typename... > class G = A> | |
| std::enable_if_t< std::is_same_v< typename has_proposal< G >::type, Exog >, V > | operator() (I &input, exog_proposal_t< I, Ts... > &proposal) |
| Runs the specified inference algorithm with the specified queryer using the specified proposal distribution. More... | |
| void | step (record_t< DTypes< Ts... >> &r, I &input) |
Public Attributes | |
| pp_t< I, O, Ts... > | f |
| inf_options_t | opts |
| Q< V, O, Ts... > & | queryer |
| inference_state< A, I, O, Ts... > | state |
Universal base class for inference methods.
| A | The class template of the inference method |
| I | The type of the input data |
| O | The type of the output data |
| V | The type of the query variable(s) |
| Q | The class template of the queryer |
| HasProposal | will the passed class template have an associated proposal class? |
| Ts | The distribution types in the program |