Defined in File JaccardDistance.hpp
public NetworKit::NodeDistance
(Class NodeDistance)
Jaccard distance assigns a distance value to pairs of nodes according to the similarity of their neighborhoods. Note that we define the JaccardDistance as 1-JaccardSimilarity.
Public Functions
G – The graph.
triangles – Edge attribute containing the number of triangles each edge is contained in.
REQ: Needs to be called before getEdgeScores delivers meaningful results.