Skip to content

isomorphism

general · scripts/general/isomorphism.m

ISOMORPHISM  Node permutation mapping G1 onto G2 (heuristic).

  P = ISOMORPHISM (G1, G2) returns a permutation of nodes of G1 such that
  the adjacency of G1(P,P) matches G2 when degree sequences uniquely
  identify nodes; otherwise returns [] if not obviously isomorphic.