Main MRPT website > C++ reference for MRPT 1.9.9
CEdgeRegistrationDecider_impl.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 CEDGEREGISTRATIONDECIDER_IMPL_H
10 #define CEDGEREGISTRATIONDECIDER_IMPL_H
11 
12 using namespace mrpt::graphslam::deciders;
13 using namespace std;
14 
15 #include <sstream>
16 
17 // Implementation of classes defined in the CNodeRegistrationDecider class
18 // template.
19 //
20 
21 template <class GRAPH_T>
23  : m_just_inserted_lc(false), m_override_registered_nodes_check(false)
24 {
25 }
26 
27 template <class GRAPH_T>
29 {
30 }
31 
32 template <class GRAPH_T>
34  std::string* report_str) const
35 {
36  stringstream ss("");
37  parent::getDescriptiveReport(report_str);
38 
39  ss << "Edge Registration Decider Strategy [ERD]: " << endl;
40  *report_str += ss.str();
41 }
42 
43 template <class GRAPH_T>
45  const mrpt::utils::TNodeID& from, const mrpt::utils::TNodeID& to,
46  const constraint_t& rel_edge)
47 {
48  using namespace std;
49 
51  "Registering new edge: " << from << " => " << to << endl
52  << "\tRelative Edge: "
53  << rel_edge.getMeanVal().asString()
54  << "\tNorm: " << rel_edge.getMeanVal().norm());
55 }
56 
57 #endif /* end of include guard: CEDGEREGISTRATIONDECIDER_IMPL_H */
Interface for implementing edge registration classes.
STL namespace.
GRAPH_t ::constraint_t constraint_t
type of graph constraints
uint64_t TNodeID
The type for node IDs in graphs of different types.
GLsizei const GLchar ** string
Definition: glext.h:4101
#define MRPT_LOG_DEBUG_STREAM(__CONTENTS)



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