Skip to main content

Module triangle_count

Module triangle_count 

Source
Expand description

Triangle counting algorithm implementation.

Counts triangles and computes clustering coefficients in graphs.

Functionsยง

clustering_coefficient
Computes the global clustering coefficient of the graph.
triangle_count
Counts the total number of triangles in the graph.
triangles_per_node
Counts triangles each node participates in.