Oli*_*nde 8 language-agnostic algorithm graph-theory graph
免责声明:我是图论的新手,我不确定这是否属于SO,Math SE等.
给定2个邻接矩阵A和B,我如何确定A和B是否是同构的.
例如,A和B不是同构的,C和D是同构的.
A = [ 0 1 0 0 1 1     B = [ 0 1 1 0 0 0
      1 0 1 0 0 1           1 0 1 1 0 0
      0 1 0 1 0 0           1 1 0 1 1 0
      0 0 1 0 1 0           0 1 1 0 0 1
      1 0 0 1 0 1           0 0 1 0 0 1
      1 1 0 0 1 0 ]         0 0 0 1 1 0 ]
C = [ 0 1 0 1 0 1     D = [ 0 1 0 1 1 0
      1 0 1 0 0 1           1 0 1 0 1 0
      0 1 0 1 1 0           0 1 0 1 0 1
      1 0 1 0 1 0           1 0 1 0 0 1
      0 0 1 1 0 1           1 1 0 0 0 1
      1 1 0 0 1 0 ]         0 0 1 1 1 0 ]   
(sorry for this ugly notation, I'm not quite sure how to draw matrices on SO)
这是我开始算法的原因(原谅我缺乏数学严谨性)请帮我完成/纠正!
我的项目- Griso -在sf.net:http://sourceforge.net/projects/griso/有这样的描述:
Griso是用C ++编写,并根据我自己的算法中图同构测试工具。
在此页面上查看 Griso 的示例输入/输出:http ://funkybee.narod.ru/graphs.htm