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

这题用双向广搜或者A*可以过吗?

Posted by gzw_02 at 2008-07-25 15:08:32 on Problem 2965
双向广搜比较纯暴力。

   A*的启发函数很难定,侯选可以是:
(1)错位(错位数少的优先级高)
(2)一次翻转为closed的数目。(翻转数多的优先)
感觉上都不是很理想。

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