lppl
v2.0.0
|
State that is used by inference algorithms. More...
#include "inference.hpp"
State that is used by inference algorithms.
Some inference algorithms are stateless (e.g., likelihood weighting), but others may depend on state (e.g., proposal distributions, past samples from the posterior)
By default, this contains no state; inference algorithms that contain state should specialize this struct and refer to it within .step(...)
and .operator()(...)
.
C | Inference algorithm template |
I | Input type of the probabilistic program |
O | Output type of the probabilistic program |
Ts | Types of the distributions in the probabilistic program |