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 all

Basic Examples  (1)

Dice similarity between two vertices in a graph:

In[1]:=
Click for copyable input
Out[1]=

Scope  (6)

Properties & Relations  (3)

See Also

VertexCorrelationSimilarity  VertexJaccardSimilarity  VertexCosineSimilarity

Introduced in 2012
(9.0)
| Updated in 2015
(10.3)