作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (17): 208-210. doi: 10.3969/j.issn.1000-3428.2007.17.071

• 人工智能与识别技术 • 上一篇    下一篇

求有向图的所有Hamilton回路的新方法

牟廉明   

  1. (内江师范学院数学系,四川省高等学校数值仿真重点实验室,内江 641112)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-09-05 发布日期:2007-09-05

New Method for Finding All Hamiltonian Cycles in Digraph

MOU Lian-ming   

  1. (Department of Mathematics, Neijiang Teachers College, Key Lab of Numerical Simulation in Sichuan College, Neijiang 641112)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-09-05 Published:2007-09-05

摘要: 引入了单源单汇线性有向k-部图,设计了该结构上的删除算法、合并算法和输出算法,在此基础上给出了判断有向图是否含有H回路的多项式时间算法和计算H回路数的多项式时间算法,给出了求解有向图的所有H回路算法,并通过实例验证了算法的有效性,解决了H回路的判定、计数和求解问题。

关键词: 线性有向k-部图, k-初级通路, H回路

Abstract: This paper introduces the new linear k-partite digraph with single jumping-off and end point. Delete-algorithm, combination-algorithm and output-algorithm are designed. The algorithms with polynomial-time to judge whether or not there is Hamiltonian cycle in the digraph and to count the Hamilton cycle are designed. The algorithm to solve all Hamilton cycles in the digraph is constructed. The algorithmic validity is validated by example. Judgment, count and output of Hamilton cycle are effectually solved.

Key words: linear k-partite digraph, k-elementary access, Hamilton cycle

中图分类号: