Bayes Filters Library
src
BayesFilters
include
BayesFilters
KFPrediction.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 KFPREDICTION_H
9
#define KFPREDICTION_H
10
11
#include <
BayesFilters/GaussianMixture.h
>
12
#include <
BayesFilters/GaussianPrediction.h
>
13
#include <
BayesFilters/LinearStateModel.h
>
14
#include <
BayesFilters/ExogenousModel.h
>
15
16
#include <memory>
17
18
namespace
bfl
{
19
class
KFPrediction;
20
}
21
22
23
class
bfl::KFPrediction
:
public
bfl::GaussianPrediction
24
{
25
public
:
26
KFPrediction
(std::unique_ptr<LinearStateModel> state_model) noexcept;
27
28
KFPrediction
(
const
KFPrediction
& prediction) noexcept =
delete
;
29
30
KFPrediction
&
operator=
(
const
KFPrediction
& prediction) noexcept =
delete
;
31
32
KFPrediction
(
KFPrediction
&& prediction) noexcept;
33
34
KFPrediction
&
operator=
(
KFPrediction
&& prediction) noexcept;
35
36
virtual
~KFPrediction
() noexcept =
default
;
37
38
StateModel
&
getStateModel
() noexcept
override
;
39
40
41
protected
:
42
void
predictStep
(
const
GaussianMixture
& prev_state,
GaussianMixture
& pred_state)
override
;
43
44
45
private
:
46
std::unique_ptr<LinearStateModel>
state_model_
;
47
};
48
49
#endif
/* KFPREDICTION_H */
GaussianPrediction.h
bfl
Port of boost::any for C++11 compilers.
Definition:
AdditiveMeasurementModel.h:13
bfl::KFPrediction::operator=
KFPrediction & operator=(const KFPrediction &prediction) noexcept=delete
GaussianMixture.h
bfl::GaussianPrediction
Definition:
GaussianPrediction.h:23
bfl::KFPrediction::~KFPrediction
virtual ~KFPrediction() noexcept=default
bfl::KFPrediction::getStateModel
StateModel & getStateModel() noexcept override
Definition:
KFPrediction.cpp:38
LinearStateModel.h
bfl::StateModel
Definition:
StateModel.h:22
bfl::KFPrediction::state_model_
std::unique_ptr< LinearStateModel > state_model_
Definition:
KFPrediction.h:46
ExogenousModel.h
bfl::KFPrediction::KFPrediction
KFPrediction(std::unique_ptr< LinearStateModel > state_model) noexcept
Definition:
KFPrediction.cpp:14
bfl::KFPrediction::predictStep
void predictStep(const GaussianMixture &prev_state, GaussianMixture &pred_state) override
Definition:
KFPrediction.cpp:44
bfl::KFPrediction
Definition:
KFPrediction.h:23
bfl::GaussianMixture
Definition:
GaussianMixture.h:20
Generated by
1.8.17