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

距离标号最短增广路径?

Posted by wywcgs at 2006-11-30 22:00:46 on Problem 1459
In Reply To:用标号法求最大流 怎么改进一下呢?TLE了n次?各位大牛都是怎么求的最大流? Posted by:happyending at 2006-11-30 21:22:12
常见且有效的优化有两个
一个是高度标号初始化,bfs
一个是Gap Heuristic,无论是对距离标号增广路还是preflow-push都很有效

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