Defined in File StochasticBlockmodel.hpp
public NetworKit::StaticGraphGenerator
(Class StaticGraphGenerator)
Public Functions
Construct a undirected regular ring lattice.
nNodes – number of nodes in target graph
n – number of blocks (=k)
membership – maps node ids to block ids (consecutive, 0 <= i < nBlocks)
affinity – matrix of size k x k with edge probabilities between the blocks