|
MCKL
Monte Carlo Kernel Library
|
SMCSampler<T>::eval_type subtype. More...
#include <mckl/algorithm/resample.hpp>
Public Types | |
| using | eval_type = std::function< void(std::size_t, std::size_t, typename Particle< T >::rng_type &, const double *, typename Particle< T >::size_type *)> |
Public Member Functions | |
| ResampleEval ()=default | |
| ResampleEval (const eval_type &eval) | |
Construct a Sampler::move_type object. More... | |
| void | operator() (std::size_t, Particle< T > &particle) const |
| Resample a particle collection. More... | |
| template<typename Eval > | |
| void | selection (Eval &&eval) |
| Set a new evaluation object of type eval_type. More... | |
SMCSampler<T>::eval_type subtype.
Definition at line 471 of file resample.hpp.
| using mckl::ResampleEval< T >::eval_type = std::function<void(std::size_t, std::size_t, typename Particle<T>::rng_type &, const double *, typename Particle<T>::size_type *)> |
Definition at line 476 of file resample.hpp.
|
default |
|
inlineexplicit |
Construct a Sampler::move_type object.
| eval | A resampling algorithm evaluation object, see interface of ResampleAlgorithm |
Definition at line 484 of file resample.hpp.
|
inline |
Resample a particle collection.
Definition at line 494 of file resample.hpp.
|
inline |
Set a new evaluation object of type eval_type.
Definition at line 488 of file resample.hpp.
1.8.13