Deviation between two graphs represented by two sequences
Deviation between two graphs represented by two sequences
This function evaluates whether two graphs are identical. Each graph is represented first by a binary vector, which is the vectorized adjacency matrix, and then converted to a decimal number. The difference in the decimal numberes is the deviation between the two graphs.
seqDiff(g1, g2)
Arguments
g1: Adjacency matrix from the first graph object.
g2: Adjacency matrix from the second graph object.