Defined in File AlgebraicTriangleCounting.hpp
public NetworKit::Algorithm
(Class Algorithm)
Implements a triangle counting algorithm for nodes based on algebraic methods.
Public Functions
Creates an instance of AlgebraicTriangleCounting for the given Graph graph.
graph –
Computes the number of triangles each node is part of. A triangle is considered as a set of nodes (i.e. if there is a triangle (u,v,w) it only counts as one triangle at each node).