Please use this identifier to cite or link to this item: http://rportal.lib.ntnu.edu.tw:80/handle/20.500.12235/92628
Title: 矩形棋盤上構築騎士路徑之成本最佳化演算法
Optimal Algorithms for Constructing Knight's Tours on Rectangular Chessboards
Authors: 林順喜
Shun-Shii Lin
魏仲良
Chung-Liang Wei
Keywords: 騎士路徑問題
分而治之的演算法
漢米爾頓環境軌跡問題
平行演算法
Knight's tour problem
Divide-and-conquer algorithm
Hamilton cycle problem
Parallel algorithm
Issue Date: 2002
Abstract: 騎士路徑問題(knight's tour problem)已經被研究很長的一段時間,它的規則為在一棋盤上,要找出一條路徑讓騎士恰能走過棋盤上的每一個格子一次。1992年Takefuji與Lee聲明他們尚不能確定此一問題是否屬於NP-complete的範疇。在前人的研究中所提出的方法皆僅解決了部份的子集合。舉例來說,如Ian Parberry於1997年提出一個分而治之(divide-and-conquer)的演算法,利用單一個處理器能在O(n^2)的時間內求得n x n、n x (n+1)、n x (n+2) 的盤面上的封閉騎士路徑(Closed knight's tour)。而在本篇論文中,我們提出一個新的方法可以找出任意n x m大小的棋盤上的封閉騎士路徑與開放騎士路徑(Open knight's tour),至此得以完全解決騎士路徑問題並回答了Takefuji與Lee的疑問。在只利用單一處理器的狀況下,我們的演算法所花用的時間也只僅要線性時間(O(nm))。
The knight's tour problem has been studied for a very long period of time. The main purpose of the knight's tour problem is to find out how to construct a series of moves made by a knight visiting every square of a chessboard exactly once. In 1992, Takefuji and Lee state that they are unsure whether the problem of finding a knight's tour is NP-complete. In previous works, all researchers partially solve this problem by offering algorithms for a partial subset of chessboards. For example, among the prior studies, Ian Parberry proposes a divided-and-conquer algorithm that can build a closed knight's tour on an n x n, an n x (n+1) or an n x (n+2) chessboard in O(n^2) (i.e. linear) time on a sequential processor. In this paper, we completely solve this problem and answer the question of Takefuji and Lee by presenting a new method that can construct a closed knight's tour or an open knight's tour on an arbitrary n m chessboard if they exist. Our algorithm runs in linear time (O(nm)) on a sequential processor.
URI: http://etds.lib.ntnu.edu.tw/cgi-bin/gs32/gsweb.cgi?o=dstdcdr&s=%22http://etds.lib.ntnu.edu.tw/cgi-bin/gs32/gsweb.cgi?o=dstdcdr&s=id=%22G000DREAMER%22.&%22.id.&
http://rportal.lib.ntnu.edu.tw:80/handle/20.500.12235/92628
Other Identifiers: G000DREAMER
Appears in Collections:學位論文

Files in This Item:
File Description SizeFormat 
amer01.pdf88.23 kBAdobe PDFView/Open
amer02.pdf181.93 kBAdobe PDFView/Open
amer03.pdf221.7 kBAdobe PDFView/Open
amer04.pdf561.66 kBAdobe PDFView/Open
amer05.pdf80.28 kBAdobe PDFView/Open
amer06.pdf58.39 kBAdobe PDFView/Open
amer07.pdf198.79 kBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.