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

routing_generator.hpp « generator - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78a59e45182439e6eafa5734e1c18231d909ca99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include "../std/string.hpp"
#include "../std/vector.hpp"
#include "../std/set.hpp"

namespace routing
{


/*!
 * \brief The OutgoungNodeT struct. Contains node identifier and it's coordinate to calculate same nodes at different mwm's
 */
typedef size_t OutgoingNodeT;

typedef std::vector<OutgoingNodeT> OutgoingVectorT;

/// @param[in]  baseDir   Full path to .mwm files directory.
/// @param[in]  countryName   Country name same with .mwm and .border file name.
/// @param[in]  osrmFile  Full path to .osrm file (all prepared osrm files should be there).
void BuildRoutingIndex(string const & baseDir, string const & countryName, string const & osrmFile);

/// @param[in]  baseDir   Full path to .mwm files directory.
void BuildCrossesRoutingIndex(string const & baseDir);
}