14 template <
class GRAPH_T>
16 std::string* report_str)
const 18 std::stringstream ss(
"");
19 parent::getDescriptiveReport(report_str);
21 ss <<
"Edge Registration Decider Strategy [ERD]: \n";
22 *report_str += ss.str();
25 template <
class GRAPH_T>
31 "Registering new edge: " << from <<
" => " << to <<
"\n" 32 <<
"\tRelative Edge: " 33 << rel_edge.getMeanVal().asString()
34 <<
"\tNorm: " << rel_edge.getMeanVal().norm());
void getDescriptiveReport(std::string *report_str) const override
Fill the provided string with a detailed report of the decider/optimizer state.
typename GRAPH_t ::constraint_t constraint_t
type of graph constraints
#define MRPT_LOG_DEBUG_STREAM(__CONTENTS)
Use: MRPT_LOG_DEBUG_STREAM("Var=" << value << " foo=" << foo_var);
virtual void registerNewEdge(const mrpt::graphs::TNodeID &from, const mrpt::graphs::TNodeID &to, const constraint_t &rel_edge)
Register a new constraint/edge in the current graph.
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.