mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 21:33:59 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
33
routing/routes_builder/routes_builder_tool/utils.hpp
Normal file
33
routing/routes_builder/routes_builder_tool/utils.hpp
Normal file
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include "routing/routing_quality/api/api.hpp"
|
||||
|
||||
#include "routing/routes_builder/routes_builder.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace routing
|
||||
{
|
||||
namespace routes_builder
|
||||
{
|
||||
void BuildRoutes(std::string const & routesPath,
|
||||
std::string const & dumpPath,
|
||||
uint64_t startFrom,
|
||||
uint64_t threadsNumber,
|
||||
uint32_t timeoutPerRouteSeconds,
|
||||
std::string const & vehicleType,
|
||||
bool verbose,
|
||||
uint32_t launchesNumber);
|
||||
|
||||
void BuildRoutesWithApi(std::unique_ptr<routing_quality::api::RoutingApi> routingApi,
|
||||
std::string const & routesPath,
|
||||
std::string const & dumpPath,
|
||||
int64_t startFrom);
|
||||
|
||||
std::unique_ptr<routing_quality::api::RoutingApi> CreateRoutingApi(std::string const & name,
|
||||
std::string const & token);
|
||||
} // namespace routes_builder
|
||||
} // routing
|
||||
Reference in New Issue
Block a user