Removed an unused function.

This commit is contained in:
Maxim Pimenov 2015-04-10 21:25:09 +03:00 committed by Alex Zolotarev
parent b62011234c
commit d7f92d435e

View file

@ -43,18 +43,6 @@ void ReconstructRoute(RoadPos const & v, map<RoadPos, RoadPos> const & parent,
}
}
void ReconstructRouteBidirectional(RoadPos const & v, RoadPos const & w,
map<RoadPos, RoadPos> const & parentV,
map<RoadPos, RoadPos> const & parentW, vector<RoadPos> & route)
{
vector<RoadPos> routeV;
ReconstructRoute(v, parentV, routeV);
vector<RoadPos> 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<RoadPos> const & goals)
{
// @todo support of more than one goal