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

Function DebugPrint

libs/search/intermediate_result.cpp:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145std::string DebugPrint(PreRankerResult const & r)
146{
147 ostringstream os;
148 os << "PreRankerResult "
149 << "{ FID: " << r.GetId().m_index // index is enough here for debug purpose
150 << "; m_matchedTokensNumber: " << r.m_matchedTokensNumber << "; m_isRelaxed: " << r.m_isRelaxed << "; "
151 << DebugPrint(r.m_info) << " }";
152 return os.str();
153}
154
155// RankerResult ------------------------------------------------------------------------------------
156RankerResult::RankerResult(FeatureType & ft, m2::PointD const & center, string displayName, string const & fileName)

Callers

nothing calls this directly

Calls 7

GetReadableObjectNameMethod · 0.80
GetLinearModelRankMethod · 0.80
GetIdMethod · 0.45
GetIDMethod · 0.45
GetNameMethod · 0.45
GetBestTypeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected