Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

用dijkstra解此题的证明

Posted by Sayakiss at 2010-07-14 16:19:32 on Problem 1797
 d[i] = max ( d[i], min(d[u], map[u][i])) d[u]是当前进入访问点集合的点。
S为已访问的点集。

定理 每次加入的S的点u,d[u]就是题目所求最大载重。
证明
每次加入S的点u为当前d值最大的点,所以未访问的点集中没有点可以对u进行松弛操作(若t能对u进行松弛操作,则有d[t]>d[u])。而S中的顶点也都进行了松弛操作,所以D的值不会改变。定理得证。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator