Can someone explain the steps of the VF2 algorithm for graph isomorphism in simple words? I am learning this algorithm, but it is harsh without a working example. Can someone le
high-level overview of the VF algorithm is presented:
PROCEDURE Match(s)
INPUT: an intermediate state s; the initial state s0 has M(s0)=
OUTPUT: the mappings between the two graphs
IF M(s) covers all the nodes of G2 THEN
OUTPUT M(s)
ELSE
Compute the set P(s) of the pairs candidate for inclusion in M(s)
FOREACH (n, m) P(s)
IF F(s, n, m) THEN
Compute the state s´ obtained by adding (n, m) to M(s)
CALL Match(s )
END IF
END FOREACH
Restore data structures
END IF
END PROCEDURE