最短路径http://blog.csdn.net/peerslee/article/details/50058245最小生成树http://blog.csdn.net/peerslee/article/details/50002513不知道能不能帮你解决困惑,但是 希望采纳哈