Class LocalSquareClusteringCoefficient

Inheritance Relationships

Base Type

Class Documentation

class LocalSquareClusteringCoefficient : public NetworKit::Centrality

Public Functions

LocalSquareClusteringCoefficient(const Graph &G)

Constructs the LocalSquareClusteringCoefficient class for the given Graph G.

Parameters:

G – The graph.

virtual void run() override

Computes the local clustering coefficient on the graph passed in constructor.

virtual double maximum() override

Get the theoretical maximum of centrality score in the given graph.

Returns:

The maximum centrality score.