This commit is contained in:
Denis Koronchik
2017-10-12 17:41:08 +03:00
committed by Patrick Niklaus
parent fe8a2251cd
commit 031ce72db1
2 changed files with 19 additions and 1 deletions
+4
View File
@@ -183,6 +183,10 @@ int Partitioner::Run(const PartitionConfig &config)
auto permutation = makePermutation(edge_based_graph, partitions);
renumber(edge_based_graph, permutation);
renumber(partitions, permutation);
{
renumber(mapping, permutation);
extractor::files::writeNBGMapping(config.GetPath(".osrm.cnbg_to_ebg").string(), mapping);
}
{
boost::iostreams::mapped_file segment_region;
auto segments = util::mmapFile<extractor::EdgeBasedNodeSegment>(