Minor fixes.

This commit is contained in:
Vladimir Byko-Ianko 2016-10-17 18:03:29 +03:00
parent d0793c5615
commit 9d7d305e4f
3 changed files with 3 additions and 2 deletions

View file

@ -537,6 +537,8 @@ bool CarRouter::FindSingleRouteDispatcher(FeatureGraphNode const & source, Featu
else
{
// OSRM Routing
// @TODO This branch is implemented to support old maps with osrm section. When osrm
// section is not supported this branch should be removed.
vector<Junction> mwmRouteGeometry;
Route::TTurns mwmTurns;
Route::TTimes mwmTimes;

View file

@ -316,7 +316,7 @@ unique_ptr<RoadGraphRouter> CreateCarAStarBidirectionalRouter(Index & index, TCo
{
unique_ptr<IVehicleModelFactory> vehicleModelFactory = make_unique<CarModelFactory>();
unique_ptr<IRoutingAlgorithm> algorithm = make_unique<AStarBidirectionalRoutingAlgorithm>();
// @TODO Bycycle turn generation engine is used now. It's ok for the time being.
// @TODO Bicycle turn generation engine is used now. It's ok for the time being.
// But later a special car turn generation engine should be implemented.
unique_ptr<IDirectionsEngine> directionsEngine = make_unique<BicycleDirectionsEngine>(index);
unique_ptr<RoadGraphRouter> router = make_unique<RoadGraphRouter>(

View file

@ -56,6 +56,5 @@ private:
unique_ptr<IRouter> CreatePedestrianAStarRouter(Index & index, TCountryFileFn const & countryFileFn);
unique_ptr<IRouter> CreatePedestrianAStarBidirectionalRouter(Index & index, TCountryFileFn const & countryFileFn);
unique_ptr<IRouter> CreateBicycleAStarBidirectionalRouter(Index & index, TCountryFileFn const & countryFileFn);
unique_ptr<RoadGraphRouter> CreateCarAStarBidirectionalRouter(Index & index, TCountryFileFn const & countryFileFn);
} // namespace routing