[Google] Shortest Manhattan Distance - Shuatiblog.com
给一个 n*m 的房间,房间里存在各种可能的墙,房间的格子里已经放了 e 个器材,要 求新放一个器材,放置位置距其它 e 个器材的距离最近。Breadth-first search.
Read full article from [Google] Shortest Manhattan Distance - Shuatiblog.com
[Google] Shortest Manhattan Distance - Shuatiblog.com
给一个 n*m 的房间,房间里存在各种可能的墙,房间的格子里已经放了 e 个器材,要 求新放一个器材,放置位置距其它 e 个器材的距离最近。Breadth-first search.
Read full article from [Google] Shortest Manhattan Distance - Shuatiblog.com
No comments:
Post a Comment