Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
为什么很多人说中间的过程像prim求最大生成树呢我觉得明明是模仿dijkstra求最远路啊! 虽然说prim和dijkstra本来就差不多,可是这个是沿路径累积的, 我还是觉得更像dijkstra中的d[j] = d[k] + w[k][j];而不是prim中的d[j] = w[k][j]; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator