Hamiltion
于 2014-09-13 发布
文件大小:732KB
0 81
下载积分: 1
下载次数: 7
代码说明:
程序理论详见内附的pdf:《Hamilton图的充要条件及圈的矩阵算法》 主程序为 [K]=getPk(A,k) A表示图的邻接矩阵,k表示k阶长路和圈 返回K表示该图的所有k阶长路和圈 其他函数介绍: Ppro定义路的乘法 Psum定义路的加法 MatPro定义路矩阵的乘法 isaPorC判断是否为路或圈 P2subP提取路的和式中的所有路 getP1从邻接矩阵得到1阶路矩阵(get a k-path from a graph)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
发表评论