Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Melnichek <melnichek@gmail.com>2011-04-25 15:16:12 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:16:27 +0300
commit1f9d7c27c48314a626dd13ae9ba018a2d6d78588 (patch)
treed862653a1ffa9d28b75ada31c4b386e3f211abfb /indexer/scale_index_builder.hpp
parent1741afd848e1b8789f0b3df4c4501314e305a613 (diff)
Use 250 constant for covering area penalty instead of 1025. Should result in larger but more precise index.
Diffstat (limited to 'indexer/scale_index_builder.hpp')
-rw-r--r--indexer/scale_index_builder.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/scale_index_builder.hpp b/indexer/scale_index_builder.hpp
index 0708cd38f1..0eed5590b9 100644
--- a/indexer/scale_index_builder.hpp
+++ b/indexer/scale_index_builder.hpp
@@ -69,7 +69,7 @@ public:
{
if (FeatureShouldBeIndexed(f))
{
- vector<int64_t> const cells = covering::CoverFeature(f, 1025);
+ vector<int64_t> const cells = covering::CoverFeature(f, 250);
for (vector<int64_t>::const_iterator it = cells.begin(); it != cells.end(); ++it)
m_Sorter.Add(CellFeaturePair(*it, offset));
++m_NumFeatures;