blob: 827fada573a5e88eb9be7464c56b987fb8b2e868 (
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
26
27
28
29
30
|
#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
*/
/*struct OutgoungNodeT {
size_t node_id;
double x;
double y;
};*/
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);
}
|