Namespaces | Variables
beluga::actions Namespace Reference

Namespaces

 detail
 

Variables

constexpr detail::assign_fn assign
 
constexpr ranges::actions::action_closure< detail::normalize_fnnormalize
 
constexpr detail::propagate_fn propagate
 
constexpr detail::reweight_fn reweight
 

Variable Documentation

◆ assign

constexpr detail::assign_fn beluga::actions::assign
inlineconstexpr

Range adaptor object that can converts a view closure into an action closure. This can be appended to any view closure to evaluate it eagerly and assign the result to a given range, effectively converting any view into an action.

The assignment of elements into the container may involve copy which can be less efficient than move because lvalue references are produced during the indirection call. Users can opt-in to use ranges::views::move to adapt the range in order for their elements to always produce an rvalue reference during the indirection call which implies move. In this case, make sure that the input views don't require accessing the elements in the adapted range more than once.

Definition at line 99 of file assign.hpp.

◆ normalize

constexpr ranges::actions::action_closure<detail::normalize_fn> beluga::actions::normalize
inlineconstexpr

Range adaptor object that can normalize a range of values (or a range of particles). The normalize range adaptor allows users to normalize the weights of a range (or a range of particles) by dividing each weight by a specified normalization factor.

If none is specified, the default normalization factor corresponds to the total sum of weights in the given range.

Definition at line 162 of file normalize.hpp.

◆ propagate

constexpr detail::propagate_fn beluga::actions::propagate
inlineconstexpr

Range adaptor object that can update the state in a particle range using a state transition (or sampling) function. This action updates particle states based on their current value and a state transition (or sampling) function. Every other particle attribute (such as importance sampling weights) is left unchanged.

Definition at line 131 of file propagate.hpp.

◆ reweight

constexpr detail::reweight_fn beluga::actions::reweight
inlineconstexpr

Range adaptor object that can update the weights in a particle range using a sensor model. This action updates particle weights by importance weight multiplication. These importance weights are computed by a given measurement likelihood function (or sensor model) for current particle states.

Definition at line 115 of file reweight.hpp.



beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:54