Efficiently finding the shortest path in large graphs

后端 未结 7 2079
一生所求
一生所求 2020-12-13 20:46

I\'m looking to find a way to in real-time find the shortest path between nodes in a huge graph. It has hundreds of thousands of vertices and millions of edges. I know this

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 21:46

    Depending on what kind of additional information you have, A* may be extremely efficient. In particular, if given a node you can compute an estimate of the cost from that node to the goal, A* is optimally efficient.

提交回复
热议问题