开发者

Shortest path problem dijsktra with arc flags

开发者 https://www.devze.com 2023-01-16 01:02 出处:网络
On large graphs like 2M node road network, dijkstra can not solve shortest path problem in suitable time. We need to shortest path query execution time under 1 second and I am implementing arc flag wa

On large graphs like 2M node road network, dijkstra can not solve shortest path problem in suitable time. We need to shortest path query execution time under 1 second and I am implementing arc flag way to make dijkstra fast. Is there anybody know about how to implement arc flags preprocessing and query. Preprocessing of arc flags has some different algorithm 开发者_Go百科I need fast one.


Have you tried A*? It's a refinement of Dijkstra's algorithm that typically performs better; moreover, you can tune it to prefer search speed over optimality if that is an option.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号