计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (29): 40-41.

• 研究、探讨 • 上一篇    下一篇

从节点度数生成无向简单连通图

毛国勇1,2,张 宁3   

  1. 1.常州工学院 电子信息与电气工程学院,江苏 常州 213002
    2.常州市软件技术研究与应用重点实验室,江苏 常州 213002
    3.上海理工大学 管理学院,上海 200093
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-10-11 发布日期:2011-10-11

Building connected undirected simple graph from degree of vertex

MAO Guoyong1,2,ZHANG Ning3   

  1. 1.School of Electronic Information and Electric Engineering,Changzhou Institute of Technology,Changzhou,Jiangsu 213002,China
    2.Changzhou Key Lab for Research and Application of Software Technology,Changzhou,Jiangsu 213002,China
    3.Business School,University of Shanghai for Science and Technology,Shanghai 200093,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-10-11 Published:2011-10-11

摘要: 许多现实问题可以抽象成无向简单连通图的生成问题。为了从节点的度数序列得到所有可能的无向简单连通图,针对度数序列设计了适合用计算机实现的去点回溯算法,证明了算法的正确性,通过每一步去点回溯后的变化矩阵,得到生成无向简单连通图所需的邻接矩阵,并最终用计算机实现了该算法,解决了节点度数已知时无向简单连通图的生成问题。

关键词: 去点, 回溯, 度数, 无向简单连通图

Abstract: Many real problems can be abstracted into problems related to the generating of undirected simple connected graph.To get all possible undirected simple connected graphs from degree of each node,the point-cutting and backtracking algorithm suitable for computer implementation is brought forward based on series of degrees.The correctness of algorithm is proved.The adjacency matrix needed for generating undirected simple connected graph can be reached from the changing matrix derived from each step of point-cutting and backtracking algorithm.This algorithm is implemented using computer in the end.

Key words: point-cutting, backtracking, degree, undirected simple connected graph