摘要
首先,分析判别同构图的一种常用实现方法:基于邻接矩阵存储,并讨论其存在的时间复杂度为O(N!).接着,针对两图中结点数、边数、每个结点的度均相同的特殊图形提出无向无权图同构判别的另一算法:采用结点之间距离及关联边进行判别.最后通过实例进行算法测试和比较,证明了该算法是完全行之有效的.
First,a commonly implemented method for judging isomorphism,which is based on the adjacency matrix storage,has been analyzed,and its time complexity(O(N!))has been discussed.Thus in order to solve the isomorphism identification of the undirected and unweighted graphs,which are both the special graphs with the same nodes number,the same edges and the same degree for each node,another algorithm is proposed which adopts the distance and the incident edges between nodes to judge.At last,the algorithm is tested and compared through instances and it is proved that the algorithm is effective.
出处
《西南师范大学学报(自然科学版)》
CAS
北大核心
2017年第3期141-145,共5页
Journal of Southwest China Normal University(Natural Science Edition)
基金
山西省运城学院131人才专项(JG201634)
关键词
同构图
FLOYD算法
结点间距
间距分类
isomorphic graph
floyd algorithm
node distance
distance classification