Defined in File ClusteredRandomGraphGenerator.hpp
public NetworKit::StaticGraphGenerator
(Class StaticGraphGenerator)
The ClusteredRandomGraphGenerator class is used to create a clustered random graph. The number of nodes and the number of edges are adjustable as well as the probabilities for intra-cluster and inter-cluster edges. In parallel the generated graph is not deterministic. To ensure determinism, use a single thread.
Public Functions
Creates a clustered random graph:
n – [in] number of nodes
k – [in] number of clusters
pIntra – [in] intra-cluster edge probability
pInter – [in] inter-cluster edge probability