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