#include <NeighborhoodFunction.h>

bool  hasRun 
 A boolean variable indicating whether an algorithm has finished its computation or not. More...


NetworKit::NeighborhoodFunction::NeighborhoodFunction 
( 
const Graph & 
G  ) 

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.
 Parameters

 Returns
 the exact effective diameter of the graph
std::vector< count > NetworKit::NeighborhoodFunction::getNeighborhoodFunction 
( 
 ) 
const 
Returns the neighborhood function of the graph.
 Returns
 the neighborhood function of the graph
void NetworKit::NeighborhoodFunction::run 
( 
 ) 


overridevirtual 
The generic run method which calls runImpl() and takes care of setting to the appropriate value.
Implements NetworKit::Algorithm.
The documentation for this class was generated from the following files: