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 |
题解dijstra + A* (最优化搜索, 按估计值排序) h[n] = d[n] ;//估价函数为最短距离; g[n] = cost[n] ;//赋值实际长度; 然后再在A*框架下搜到第k遍终点即可; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator