EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::ResamplerUnder Concept Reference

A Resampler that also runs under the execution policy P, called as r(policy, weights, ancestors, rng). More...

#include <EmrysFilter/Core/Resampling.h>

Concept definition

template<typename R, typename P, typename Scalar, typename G>
concept ResamplerUnder =
&& requires(R const & r, P && policy, std::span<Scalar const> weights, std::span<Eigen::Index> ancestors, G & rng) {
r(std::forward<P>(policy), weights, ancestors, rng);
}
An execution policy: execution::sequential, a policy of the standard library such as std::execution::...
Definition Execution.h:459
A Resampler that also runs under the execution policy P, called as r(policy, weights,...
Definition Resampling.h:86

Detailed Description

A Resampler that also runs under the execution policy P, called as r(policy, weights, ancestors, rng).

ParticleSet::resample() under a policy calls a resampler this way if it can, and as a plain Resampler otherwise.