Calculate the Jensen-Shannon Divergence of two networks

GetJensenShannonDivergence(
  AdjacencyMatrix1,
  AdjacencyMatrix2,
  VNEntropy1,
  VNEntropy2
)

Arguments

AdjacencyMatrix1

an adjacency matrix

AdjacencyMatrix2

an adjacency matrix

VNEntropy1

the value of the Von Neumann entropy of the corresponding (1st) adjacency matrix

VNEntropy2

the value of the Von Neumann entropy of the corresponding (2nd) adjacency matrix

Value

The Jensen–Shannon distance between the two networks

References

De Domenico, M., et al. Structural reducibility of multilayer networks. Nat Commun 6, 6864 (2015). doi 10.1038/ncomms7864