Class TotalNeighborsIndex

Inheritance Relationships

Base Type

Class Documentation

class TotalNeighborsIndex : public NetworKit::LinkPredictor

Implementation of the Total Neighbors Index. This index is also known as Total Friends Index and returns the number of nodes in the neighborhood-union of u and v.

Public Functions

LinkPredictor()
explicit LinkPredictor(const Graph &G)
Parameters:

G – The graph to work on