EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::reductions::Keep Struct Reference

Reduction policy that keeps every branch, each added to the filter's output with its own posterior probability (see ReductionPolicy). More...

#include <EmrysFilter/Models/Reduction.h>

Public Member Functions

template<typename Branches, typename Out>
requires internal::BranchRange<Branches> && internal::holdsSeveral<Out>
void operator() (Branches &&branches, Out &out) const
 Adds each of branches to out with its log-weight, its posterior moved out of branches given as an rvalue.

Detailed Description

Reduction policy that keeps every branch, each added to the filter's output with its own posterior probability (see ReductionPolicy).

For filters whose state is a mixture, such as GaussianMixtureFilter: each update multiplies the number of components by the number of noise components, so keep the growth in check between steps (see GaussianMixtureFilter::state()). A KalmanFilter can't hold the result: its output holds one component, and Keep requires one that holds several.

See also
Collapse, Select, Gate

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