全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

Restricted Backtracked Algorithm For Hamiltonian Circuit in Undirected Graph

Keywords: articulation point , complexity class , P , NP , Hamiltonian graph , connected graph , line sweeping , restricted backtracking

Full-Text   Cite this paper   Add to My Lib

Abstract:

While determining whether a graph is Hamiltonian, it is enough to show existence of a Hamiltonian cycle in it. An algorithm based on restricted backtracking is presented in the paper that uses tie breaking rules to reduce the possible number of backtrackings. If x is any intermediate node in HC then once its neighbour y has been visited from x, x is no longer required so drop it and process is continued on the remaining subgraph. Each node is visited exactly once in a HC except the start node. Adjacency matrix is used to encode the graph. Prevention of backtracking is achieved up to next node from start node. From third node onward, wherever it is not possible to break tie uniquely, a provision for backtracking is kept only for tied nodes. Time complexity of algorithm is O(n4)*B(n) in the worst case where B(n) is a factor due to possible backtracking. It returns O(n2) in the best case and O(n3)*B(n) on the average.

Full-Text

comments powered by Disqus

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133

WeChat 1538708413