Defined in File EffectiveDiameter.hpp
public NetworKit::Algorithm
(Class Algorithm)
Public Functions
Computes the effective diameter exactly. The effective diameter is defined as the number of edges on average to reach ratio
of all other nodes.
G – the given graph
ratio – the ratio of nodes that should be connected (0,1], default = 0.9
The generic run method which calls runImpl() and takes care of setting hasRun to the appropriate value.
Returns the exact effective diameter of the graph.
the exact effective diameter of the graph