Bayes Filters Library
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
bfl::DrawParticles Class Reference

#include <DrawParticles.h>

Inheritance diagram for bfl::DrawParticles:
[legend]

Public Member Functions

 DrawParticles (std::unique_ptr< StateModel > state_model) noexcept
 
 DrawParticles (std::unique_ptr< StateModel > state_model, std::unique_ptr< ExogenousModel > exogenous_model) noexcept
 
 DrawParticles (const DrawParticles &prediction) noexcept=delete
 
DrawParticlesoperator= (const DrawParticles &prediction) noexcept=delete
 
 DrawParticles (DrawParticles &&prediction) noexcept
 
DrawParticlesoperator= (DrawParticles &&prediction) noexcept
 
virtual ~DrawParticles () noexcept=default
 
StateModelgetStateModel () noexcept override
 
void predict (const ParticleSet &prev_particles, ParticleSet &pred_particles)
 
bool skip (const std::string &what_step, const bool status)
 
bool is_skipping ()
 

Protected Member Functions

void predictStep (const ParticleSet &prev_particles, ParticleSet &pred_particles) override
 

Protected Attributes

std::unique_ptr< StateModelstate_model_
 
std::unique_ptr< ExogenousModelexogenous_model_
 

Private Attributes

bool skip_ = false
 

Detailed Description

Definition at line 19 of file DrawParticles.h.

Constructor & Destructor Documentation

◆ DrawParticles() [1/4]

DrawParticles::DrawParticles ( std::unique_ptr< StateModel state_model)
noexcept

Definition at line 16 of file DrawParticles.cpp.

◆ DrawParticles() [2/4]

DrawParticles::DrawParticles ( std::unique_ptr< StateModel state_model,
std::unique_ptr< ExogenousModel exogenous_model 
)
noexcept

Definition at line 21 of file DrawParticles.cpp.

◆ DrawParticles() [3/4]

bfl::DrawParticles::DrawParticles ( const DrawParticles prediction)
deletenoexcept

◆ DrawParticles() [4/4]

DrawParticles::DrawParticles ( DrawParticles &&  prediction)
noexcept

Definition at line 27 of file DrawParticles.cpp.

◆ ~DrawParticles()

virtual bfl::DrawParticles::~DrawParticles ( )
virtualdefaultnoexcept

Member Function Documentation

◆ getStateModel()

StateModel & DrawParticles::getStateModel ( )
overridevirtualnoexcept

Implements bfl::PFPrediction.

Definition at line 46 of file DrawParticles.cpp.

◆ is_skipping()

bool PFPrediction::is_skipping ( )
inherited

Definition at line 55 of file PFPrediction.cpp.

◆ operator=() [1/2]

DrawParticles& bfl::DrawParticles::operator= ( const DrawParticles prediction)
deletenoexcept

◆ operator=() [2/2]

DrawParticles & DrawParticles::operator= ( DrawParticles &&  prediction)
noexcept

Definition at line 34 of file DrawParticles.cpp.

References bfl::PFPrediction::operator=().

Here is the call graph for this function:

◆ predict()

void PFPrediction::predict ( const ParticleSet prev_particles,
ParticleSet pred_particles 
)
inherited

Definition at line 17 of file PFPrediction.cpp.

◆ predictStep()

void DrawParticles::predictStep ( const ParticleSet prev_particles,
ParticleSet pred_particles 
)
overrideprotectedvirtual

Implements bfl::PFPrediction.

Definition at line 52 of file DrawParticles.cpp.

References bfl::ParticleSet::state(), and bfl::GaussianMixture::weight().

Here is the call graph for this function:

◆ skip()

bool PFPrediction::skip ( const std::string &  what_step,
const bool  status 
)
inherited

Definition at line 26 of file PFPrediction.cpp.

Member Data Documentation

◆ exogenous_model_

std::unique_ptr<ExogenousModel> bfl::DrawParticles::exogenous_model_
protected

Definition at line 44 of file DrawParticles.h.

◆ skip_

bool bfl::PFPrediction::skip_ = false
privateinherited

Definition at line 54 of file PFPrediction.h.

◆ state_model_

std::unique_ptr<StateModel> bfl::DrawParticles::state_model_
protected

Definition at line 42 of file DrawParticles.h.


The documentation for this class was generated from the following files: