diff options
author | vng <viktor.govako@gmail.com> | 2016-02-18 17:37:51 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:21:26 +0300 |
commit | ef773229e2da03044e497234ab4a53f6ed1dcc13 (patch) | |
tree | 8c335a583657e6d348df1934eb0b0c5aa5572c1a /indexer/feature_utils.hpp | |
parent | 0cff2e4e4c1416021924a9624f4fcb3a354a0007 (diff) |
Factor out Rank <-> Population functions.
Diffstat (limited to 'indexer/feature_utils.hpp')
-rw-r--r-- | indexer/feature_utils.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/indexer/feature_utils.hpp b/indexer/feature_utils.hpp index faa721fdd0..1cfa5a38ac 100644 --- a/indexer/feature_utils.hpp +++ b/indexer/feature_utils.hpp @@ -11,8 +11,4 @@ namespace feature /// Get viewport scale to show given feature. Used in search. int GetFeatureViewportScale(TypesHolder const & types); - - /// Get search rank for a feature. - /// Roughly, rank + 1 means that feature is 1.x times more popular. - uint8_t GetSearchRank(TypesHolder const & types, m2::PointD const & pt, uint32_t population); } // namespace feature |