Defined in File NeighborhoodFunctionHeuristic.hpp
public NetworKit::Algorithm
(Class Algorithm)
Public Functions
Computes a heuristic of the neighborhood function.
The algorithm runs nSamples breadth-first searches and scales the results up to the actual amount of nodes. Accepted strategies are “split” and “random”.
G – the given graph
nSamples – the amount of samples, set to zero for heuristic of max(sqrt(m), 0.15*n)
strategy – the strategy to select the samples, accepts “random” or “split”
The generic run method which calls runImpl() and takes care of setting hasRun to the appropriate value.