MRPT  1.9.9
TKLDParams.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #ifndef TKLDParams_H
10 #define TKLDParams_H
11 
13 
14 namespace mrpt::slam
15 {
16 /** Option set for KLD algorithm. \ingroup mrpt_slam_grp
17  */
19 {
20  public:
21  TKLDParams();
22 
23  void loadFromConfigFile(
25  const std::string& section) override; // See base docs
26  void dumpToTextStream(std::ostream& out) const override; // See base docs
27 
28  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's
29  * papers), which is used only if the CParticleFilter is created with the
30  * "adaptiveSampleSize" flag set to true.
31  */
33 
34  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's
35  * papers), which is used only if the CParticleFilter is created with the
36  * "adaptiveSampleSize" flag set to true.
37  */
39 
40  /** (Default: KLD_minSamplesPerBin=0) The minimum number of samples will be
41  * the maximum of KLD_minSampleSize and KLD_minSamplesPerBin *
42  * #ofBinsOccupied in the last time step */
44 };
45 
46 }
47 #endif
48 
49 
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
Option set for KLD algorithm.
Definition: TKLDParams.h:18
void dumpToTextStream(std::ostream &out) const override
This method should clearly display all the contents of the structure in textual form, sending it to a std::ostream.
Definition: TKLDParams.cpp:35
unsigned int KLD_minSampleSize
Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's papers), which is used only i...
Definition: TKLDParams.h:38
This class allows loading and storing values and vectors of different types from a configuration text...
double KLD_minSamplesPerBin
(Default: KLD_minSamplesPerBin=0) The minimum number of samples will be the maximum of KLD_minSampleS...
Definition: TKLDParams.h:43
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string &section) override
This method load the options from a ".ini"-like file or memory-stored string list.
Definition: TKLDParams.cpp:58
double KLD_binSize_XY
Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's papers), which is used only i...
Definition: TKLDParams.h:32
GLsizei const GLchar ** string
Definition: glext.h:4101
unsigned int KLD_maxSampleSize
Definition: TKLDParams.h:38
GLsizei GLsizei GLchar * source
Definition: glext.h:4082



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020