Add Filter interface class describing Bayes filter functionalities
Use of new interfaces in existing classes
Skippable inherits from Skipper
FilteringAlgorithm inherits form Filter
FilteringAlgorithm inherits form Skipper
Change in FilteringAlgorithm interface
initialization() renamed to initialization_step()
isRunning() renamed to is_running()
filteringRecursion() renamed to filtering_recursion()
filteringStep() renamed to step_number()
runCondition() renamed to run_condition()
Change in GaussianFilter interface
add method predition() returning reference to the underlying GaussianPredictionpredition_ (now private)
add method correction() returning reference to the underlying GaussianCorrectioncorrection_ (now private)
Change in ParticleFilter interface
add method initialization() returning reference to the underlying ParticleSetInitializationinitialization_
add method prediction() returning reference to the underlying PFPredictionprediction_ (now private)
add method correction() returning reference to the underlying PFCorrectioncorrection_ (now private)
add method resampling() returning reference to the underlying Resamplingresampling_
Misc.
Skippable::getSkipState() is renamed in Skippable::is_skipping()
Add default ctor in class FilteringAlgorithm
Add default dtor in classes GaussianFilter, SIS
Delete copy constructor/assignment and default move constructor/assignment in classes FilteringAlgorithm, GaussianFilter, ParticleFilter, SIS
Move SIS::log_file_names implementation from .h. to .cpp
Add default argument const bfl::Data& data = Data() to {PFCorrection, GaussianCorrection}::freeze_measurements() such that it can be passed to the underlying MeasurementModel::freeze(const bfl::Data&)
This PR is the fourth of a series incorporating commits from
claudiofantacci/bayes-filters-lib
andxenvre/bayes-filters-lib
.In this PR:
New interfaces
Skipper
interface modelling skipping functionalitiesFilter
interface class describing Bayes filter functionalitiesUse of new interfaces in existing classes
Skippable
inherits fromSkipper
FilteringAlgorithm
inherits formFilter
FilteringAlgorithm
inherits formSkipper
Change in
FilteringAlgorithm
interfaceinitialization()
renamed toinitialization_step()
isRunning()
renamed tois_running()
filteringRecursion()
renamed tofiltering_recursion()
filteringStep()
renamed tostep_number()
runCondition()
renamed torun_condition()
Change in
GaussianFilter
interfacepredition()
returning reference to the underlyingGaussianPrediction
predition_
(now private)correction()
returning reference to the underlyingGaussianCorrection
correction_
(now private)Change in
ParticleFilter
interfaceinitialization()
returning reference to the underlyingParticleSetInitialization
initialization_
prediction()
returning reference to the underlyingPFPrediction
prediction_
(now private)correction()
returning reference to the underlyingPFCorrection
correction_
(now private)resampling()
returning reference to the underlyingResampling
resampling_
Misc.
Skippable::getSkipState()
is renamed inSkippable::is_skipping()
FilteringAlgorithm
GaussianFilter
,SIS
FilteringAlgorithm
,GaussianFilter
,ParticleFilter
,SIS
SIS::log_file_names
implementation from.h.
to.cpp
const bfl::Data& data = Data()
to{PFCorrection, GaussianCorrection}::freeze_measurements()
such that it can be passed to the underlyingMeasurementModel::freeze(const bfl::Data&)
Tests
Tests have been updated accordingly
Changelog
Changelog has been updated accordingly
Fixes #72