VertexDiceSimilarity
VertexDiceSimilarity[g,u,v]
gives the Dice similarity between vertices u and v of the graph g.
VertexDiceSimilarity[{vw,…},…]
uses rules vw to specify the graph g.
Details
- The vertex Dice similarity is the number of common neighbors of u and v divided by half the sum of the degrees of u and v.
- VertexDiceSimilarity works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Examples
open allclose allScope (6)
VertexDiceSimilarity works with undirected graphs:
Use rules to specify the graph:
VertexDiceSimilarity works with large graphs:
Properties & Relations (3)
Use DiceDissimilarity to compute the Dice similarity of a graph:
The Dice similarity between two vertices is equal to zero if one of them has degree zero:
The Dice similarity between two vertices is equal to 1 if they have the same neighbors:
Text
Wolfram Research (2012), VertexDiceSimilarity, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexDiceSimilarity.html (updated 2015).
CMS
Wolfram Language. 2012. "VertexDiceSimilarity." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/VertexDiceSimilarity.html.
APA
Wolfram Language. (2012). VertexDiceSimilarity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VertexDiceSimilarity.html