Defined in File NeighborhoodFunction.hpp
public NetworKit::Algorithm
(Class Algorithm)
Public Functions
Computes the neighborhood function exactly. The neighborhood function N of a graph G for a given distance t is defined as the number of node pairs (u,v) that can be reached within distance t.
G – the given graph
the exact effective diameter of the graph
The generic run method which calls runImpl() and takes care of setting hasRun to the appropriate value.