Implements Alternatives for MLD

This commit is contained in:
Daniel J. Hofmann
2017-04-06 14:28:43 +02:00
committed by Patrick Niklaus
parent fef0344be0
commit 54ceb05420
28 changed files with 1404 additions and 238 deletions
@@ -23,6 +23,16 @@ bool needsLoopBackwards(const PhantomNode &source_phantom, const PhantomNode &ta
target_phantom.GetReverseWeightPlusOffset();
}
bool needsLoopForward(const PhantomNodes &phantoms)
{
return needsLoopForward(phantoms.source_phantom, phantoms.target_phantom);
}
bool needsLoopBackwards(const PhantomNodes &phantoms)
{
return needsLoopBackwards(phantoms.source_phantom, phantoms.target_phantom);
}
} // namespace routing_algorithms
} // namespace engine
} // namespace osrm