我应该使用哪种算法+表示法在巨大的稀疏无向图中找到最小路径距离?

Which algorithm+representation should I use for finding minimum path distance in a huge sparse undirected graph?

我需要找到无向图中两个节点之间的最小距离,这里有一些细节

我应该使用什么表示和算法来实现 a) Space 效率 b) 时间效率?

编辑:如果重要,

这取决于边的权重。如果它们是非负的 - Dijkstra suits you. If your graph is planar, you can use A*.

如果你有负权重,你必须使用Bellman-Ford