文件名称:哈密顿
介绍说明--下载内容来自于网络,使用问题请自行百度
由c语言编程,在window下运行,为无向图,先读入两个数据,第一个数据为点的个数,第二个数据为边的个数。此后依次输入哪两个点之前连线,即完成无向图。之后程序会输出0和1,0代表不存在哈密顿回路,1代表存在哈密顿回路(Programming by C language, run under window, for undirected graph, read two data first, the first data is the number of points, the second data is the number of edges. Then, which two points are connected in advance to complete the undirected graph. After that, the program outputs 0 and 1,0 representing the Hamiltonian loop, and 1 represents the Hamiltonian circuit)
相关搜索: 判断无向图是否存在哈密顿回路
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
