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

Function PrintTypeStats

generator/statistics.cpp:252–261  ·  view source on GitHub ↗

@note If you gonna change this function, take into account ./tools/python/maps_generator/generator/statistics.py

Source from the content-addressed store, hash-verified

250/// @note If you gonna change this function, take into account
251/// ./tools/python/maps_generator/generator/statistics.py
252void PrintTypeStats(std::ostream & os, MapInfo & info)
253{
254 os << "Feature stats by Classificator Type\n"
255 << "(a single feature can contain several types and thus its size can be included in several type lines)\n";
256
257 for (auto const & e : info.m_byClassifType)
258 PrintInfo(os, GetKey(e.first), e.second, 30, true, true);
259
260 os << "\n";
261}
262
263void PrintGeometryInfo(std::ostream & os, char const * prefix, size_t geomMinDiff, double geomMinFactor,
264 GeomStats const & geomStats, GeomStats const & comparedStatsS, GeomStats const & comparedStatsD,

Callers 1

generator_tool.cppFile · 0.85

Calls 2

PrintInfoFunction · 0.85
GetKeyFunction · 0.70

Tested by

no test coverage detected