Class JaccardIndex

Inheritance Relationships

Base Type

Class Documentation

class JaccardIndex : public NetworKit::LinkPredictor

Implementation of the Jaccard index which normalizes the Common Neighbors Index. This is done through dividing the number of common neighbors by the number of nodes in the neighboorhood-union.

Public Functions

explicit LinkPredictor(const Graph &G)

G – The graph to work on