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

Function GetPopulation

libs/indexer/ftypes_matcher.cpp:953–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953uint64_t GetPopulation(FeatureType & ft)
954{
955 uint64_t const p = ft.GetPopulation();
956 return (p < 10 ? GetDefPopulation(IsLocalityChecker::Instance().GetType(ft)) : p);
957}
958
959double GetRadiusByPopulation(uint64_t p)
960{

Callers 4

CalcSearchRankFunction · 0.70
FillLocalitiesTableMethod · 0.50
FillVillageLocalitiesMethod · 0.50
operator()Method · 0.50

Calls 3

GetDefPopulationFunction · 0.85
GetPopulationMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected