Defined in File AlgebraicPageRank.hpp
public NetworKit::Centrality
(Class Centrality)
Implementation of PageRank using the GraphBLAS interface.
Public Functions
Constructs an instance of AlgebraicPageRank for the given graph. Page rank uses the damping factor damp and the tolerance tol.
graph –
damp –
tol –
Computes centrality scores on the graph passed in constructor.
Get a vector containing the betweenness score for each node in the graph.
The betweenness scores calculated by run().
Get a vector of pairs sorted into descending order. Each pair contains a node and the corresponding score calculated by run().
A vector of pairs.
Get the betweenness score of node v calculated by run().
v – A node.
The betweenness score of node v.
Get the theoretical maximum of centrality score in the given graph.
The maximum centrality score.