From d7f92d435e8d078bb3b8294ab5ca02636a3de767 Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Fri, 10 Apr 2015 21:25:09 +0300 Subject: [PATCH] Removed an unused function. --- routing/astar_router.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/routing/astar_router.cpp b/routing/astar_router.cpp index d159b4391e..ebe02078e4 100644 --- a/routing/astar_router.cpp +++ b/routing/astar_router.cpp @@ -43,18 +43,6 @@ void ReconstructRoute(RoadPos const & v, map const & parent, } } -void ReconstructRouteBidirectional(RoadPos const & v, RoadPos const & w, - map const & parentV, - map const & parentW, vector & route) -{ - vector routeV; - ReconstructRoute(v, parentV, routeV); - vector routeW; - ReconstructRoute(w, parentW, routeW); - route.insert(route.end(), routeV.rbegin(), routeV.rend()); - route.insert(route.end(), routeW.begin(), routeW.end()); -} - double HeuristicCostEstimate(RoadPos const & p, vector const & goals) { // @todo support of more than one goal