Main MRPT website > C++ reference for 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
15 {
16 namespace slam
17 {
18 /** Option set for KLD algorithm. \ingroup mrpt_slam_grp
19  */
21 {
22  public:
23  TKLDParams();
24 
25  void loadFromConfigFile(
27  const std::string& section) override; // See base docs
28  void dumpToTextStream(std::ostream& out) const override; // See base docs
29 
30  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's
31  * papers), which is used only if the CParticleFilter is created with the
32  * "adaptiveSampleSize" flag set to true.
33  */
35 
36  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's
37  * papers), which is used only if the CParticleFilter is created with the
38  * "adaptiveSampleSize" flag set to true.
39  */
41 
42  /** (Default: KLD_minSamplesPerBin=0) The minimum number of samples will be
43  * the maximum of KLD_minSampleSize and KLD_minSamplesPerBin *
44  * #ofBinsOccupied in the last time step */
46 };
47 
48 } // End of namespace
49 } // End of namespace
50 
51 #endif
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:20
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:40
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:45
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:34
GLsizei const GLchar ** string
Definition: glext.h:4101
unsigned int KLD_maxSampleSize
Definition: TKLDParams.h:40
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLsizei GLsizei GLchar * source
Definition: glext.h:4082



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019