Main MRPT website > C++ reference for MRPT 1.5.7
CEdgeRegistrationDecider_impl.h
Go to the documentation of this file.
1 #ifndef CEDGEREGISTRATIONDECIDER_IMPL_H
2 #define CEDGEREGISTRATIONDECIDER_IMPL_H
3 
4 using namespace mrpt::graphslam::deciders;
5 using namespace std;
6 
7 #include <sstream>
8 
9 // Implementation of classes defined in the CNodeRegistrationDecider class
10 // template.
11 //
12 
13 template<class GRAPH_T>
15  m_just_inserted_lc(false),
16  m_override_registered_nodes_check(false)
17 { }
18 
19 template<class GRAPH_T>
21 
22 template<class GRAPH_T>
24  stringstream ss("");
25  parent::getDescriptiveReport(report_str);
26 
27  ss << "Edge Registration Decider Strategy [ERD]: " << endl;
28  *report_str += ss.str();
29 }
30 
31 template<class GRAPH_T>
33  const mrpt::utils::TNodeID& from,
34  const mrpt::utils::TNodeID& to,
35  const constraint_t& rel_edge) {
36  using namespace std;
37 
38  MRPT_LOG_DEBUG_STREAM( "Registering new edge: " << from << " => "
39  << to << endl << "\tRelative Edge: " << rel_edge.getMeanVal().asString()
40  << "\tNorm: " << rel_edge.getMeanVal().norm());
41 
42 }
43 
44 
45 
46 #endif /* end of include guard: CEDGEREGISTRATIONDECIDER_IMPL_H */
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.
virtual void getDescriptiveReport(std::string *report_str) const
Fill the provided string with a detailed report of the decider/optimizer state.
virtual void registerNewEdge(const mrpt::utils::TNodeID &from, const mrpt::utils::TNodeID &to, const constraint_t &rel_edge)
Register a new constraint/edge in the current graph.
GLsizei const GLcharARB ** string
Definition: glew.h:3293
virtual void getDescriptiveReport(std::string *report_str) const
Fill the provided string with a detailed report of the decider/optimizer state.
#define MRPT_LOG_DEBUG_STREAM(__CONTENTS)



Page generated by Doxygen 1.8.11 for MRPT 1.5.7 Git: 2190203 Tue May 15 02:01:15 2018 +0200 at miƩ may 16 12:40:16 CEST 2018