Implementation detail for a propagate range adaptor object. More...
#include <propagate.hpp>
Public Member Functions | |
template<class ExecutionPolicy , class Range , class StateSamplingFunction , std::enable_if_t< std::is_execution_policy_v< std::decay_t< ExecutionPolicy >>, int > = 0, std::enable_if_t< ranges::range< Range >, int > = 0> | |
constexpr auto | operator() (ExecutionPolicy &&policy, Range &range, StateSamplingFunction fn) const -> Range & |
Overload that implements the propagate algorithm. More... | |
template<class ExecutionPolicy , class StateSamplingFunction , std::enable_if_t< std::is_execution_policy_v< ExecutionPolicy >, int > = 0> | |
constexpr auto | operator() (ExecutionPolicy policy, StateSamplingFunction fn) const |
Overload that returns a view closure to compose with other views. More... | |
template<class Range , class StateSamplingFunction , class ExecutionPolicy , std::enable_if_t< ranges::range< Range >, int > = 0, std::enable_if_t< std::is_execution_policy_v< ExecutionPolicy >, int > = 0> | |
constexpr auto | operator() (Range &&range, StateSamplingFunction fn, ExecutionPolicy policy) const -> Range & |
Overload that re-orders arguments from a view closure. More... | |
Implementation detail for a propagate range adaptor object.
Definition at line 39 of file propagate.hpp.
|
inlineconstexpr |
Overload that implements the propagate algorithm.
ExecutionPolicy | An execution policy. |
Range | An input range of particles. |
StateSamplingFunction | A callable that samples a posterior state given a prior state. Callables satisfying Beluga named requirements: StateSamplingFunction are also supported. This will be bound to the default random number generator for ranges. |
policy | The execution policy to use. |
range | An existing range of particles to apply this action to. |
fn | A state sampling function instance. |
Definition at line 57 of file propagate.hpp.
|
inlineconstexpr |
Overload that returns a view closure to compose with other views.
Definition at line 97 of file propagate.hpp.
|
inlineconstexpr |
Overload that re-orders arguments from a view closure.
Definition at line 88 of file propagate.hpp.