Class PreferentialAttachmentIndex

Inheritance Relationships

Base Type

Class Documentation

class PreferentialAttachmentIndex : public NetworKit::LinkPredictor

Implementation of the Preferential Attachment Index. The run-method simply calculates the product of the number of nodes in the neighborhoods regarding the given nodes.

Public Functions

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

G – The graph to work on