MCPcopy Create free account
hub / github.com/comaps/comaps / DebugPrint

Function DebugPrint

libs/routing/segment.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66std::string DebugPrint(Segment const & segment)
67{
68 std::ostringstream out;
69 out << std::boolalpha << "Segment(" << segment.GetMwmId() << ", " << segment.GetFeatureId() << ", "
70 << segment.GetSegmentIdx() << ", " << segment.IsForward() << ")";
71 return out.str();
72}
73
74std::string DebugPrint(SegmentEdge const & edge)
75{

Callers

nothing calls this directly

Calls 6

GetTargetMethod · 0.80
GetMwmIdMethod · 0.45
GetFeatureIdMethod · 0.45
GetSegmentIdxMethod · 0.45
IsForwardMethod · 0.45
GetWeightMethod · 0.45

Tested by

no test coverage detected