Bayes Filters Library
GPFPrediction.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT)
3  *
4  * This software may be modified and distributed under the terms of the
5  * BSD 3-Clause license. See the accompanying LICENSE file for details.
6  */
7 
8 #ifndef GPFPREDICTION_H
9 #define GPFPREDICTION_H
10 
16 
17 #include <memory>
18 
19 namespace bfl {
20  class GPFPrediction;
21 }
22 
23 
25 {
26 public:
27  GPFPrediction(std::unique_ptr<GaussianPrediction> gauss_prediction) noexcept;
28 
29  GPFPrediction(const GPFPrediction& prediction) noexcept = delete;
30 
31  GPFPrediction& operator=(const GPFPrediction& prediction) noexcept = delete;
32 
33  GPFPrediction(GPFPrediction&& prediction) noexcept;
34 
35  GPFPrediction& operator=(GPFPrediction&& prediction) noexcept;
36 
37  virtual ~GPFPrediction() noexcept = default;
38 
39  StateModel& getStateModel() noexcept override;
40 
41 
42 protected:
43  void predictStep(const ParticleSet& previous_particles, ParticleSet& predicted_particles) override;
44 
45 
46 private:
47  std::unique_ptr<GaussianPrediction> gaussian_prediction_;
48 };
49 
50 #endif /* GPFPREDICTION_H */
StateModel.h
bfl::GPFPrediction::operator=
GPFPrediction & operator=(const GPFPrediction &prediction) noexcept=delete
bfl::GPFPrediction::gaussian_prediction_
std::unique_ptr< GaussianPrediction > gaussian_prediction_
Definition: GPFPrediction.h:47
GaussianPrediction.h
bfl
Port of boost::any for C++11 compilers.
Definition: AdditiveMeasurementModel.h:13
bfl::PFPrediction
Definition: PFPrediction.h:25
bfl::GPFPrediction::predictStep
void predictStep(const ParticleSet &previous_particles, ParticleSet &predicted_particles) override
Definition: GPFPrediction.cpp:46
bfl::GPFPrediction::GPFPrediction
GPFPrediction(std::unique_ptr< GaussianPrediction > gauss_prediction) noexcept
Definition: GPFPrediction.cpp:16
PFPrediction.h
bfl::GPFPrediction
Definition: GPFPrediction.h:24
bfl::StateModel
Definition: StateModel.h:22
ExogenousModel.h
bfl::GPFPrediction::~GPFPrediction
virtual ~GPFPrediction() noexcept=default
bfl::GPFPrediction::getStateModel
StateModel & getStateModel() noexcept override
Definition: GPFPrediction.cpp:40
ParticleSet.h
bfl::ParticleSet
Definition: ParticleSet.h:20