lppl
v2.0.0
|
A filtering algorithm that operates on typed_map objects. More...
#include "update.hpp"
Public Types | |
using | QueryResult = decltype(std::declval< Queryer >().emit()) |
using | typed_map_ = typed_map< Policy, I, Ts... > |
Public Member Functions | |
UpdateFilter (upp_t< Policy, I, O, Ts... > &f, Queryer &q, Inference &infer) | |
typed_map_ & | step (typed_map_ &m) |
Public Attributes | |
upp_t< Policy, I, O, Ts... > & | f |
Inference & | infer |
Queryer & | q |
Update< Impl, Policy, QueryResult, I, O, Ts... > | updater |
A filtering algorithm that operates on typed_map objects.
This algorithm performs the following steps:
Impl | the prior -> posterior update implementation |
Policy | the injection between distributions |
Queryer | the view of the posterior distribution |
Inference | the algorithm for drawing samples from the posterior distribution |
I | the input type of the updateable probabilistic program |
O | the output type of the updateable probabilistic program |
Ts | the universe of possible types in the updateable probabilistic program |