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-2017, 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(
29  mrpt::utils::CStream& out) const override; // See base docs
30 
31  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's
32  * papers), which is used only if the CParticleFilter is created with the
33  * "adaptiveSampleSize" flag set to true.
34  */
36 
37  /** Parameters for the KLD adaptive sample size algorithm (see Dieter Fox's
38  * papers), which is used only if the CParticleFilter is created with the
39  * "adaptiveSampleSize" flag set to true.
40  */
42 
43  /** (Default: KLD_minSamplesPerBin=0) The minimum number of samples will be
44  * the maximum of KLD_minSampleSize and KLD_minSamplesPerBin *
45  * #ofBinsOccupied in the last time step */
47 };
48 
49 } // End of namespace
50 } // End of namespace
51 
52 #endif
void dumpToTextStream(mrpt::utils::CStream &out) const override
This method should clearly display all the contents of the structure in textual form, sending it to a CStream.
Definition: TKLDParams.cpp:36
Option set for KLD algorithm.
Definition: TKLDParams.h:20
This class allows loading and storing values and vectors of different types from a configuration text...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:41
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:41
double KLD_minSamplesPerBin
(Default: KLD_minSamplesPerBin=0) The minimum number of samples will be the maximum of KLD_minSampleS...
Definition: TKLDParams.h:46
void loadFromConfigFile(const mrpt::utils::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:57
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:35
GLsizei const GLchar ** string
Definition: glext.h:4101
unsigned int KLD_maxSampleSize
Definition: TKLDParams.h:41
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLsizei GLsizei GLchar * source
Definition: glext.h:4082
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019