Comuna.NET - A community analysis, tracking and graphing library for social networks written in C#
![]() | CommunityAlgorithm Constructor |
Creates a new CommunityAlgorithm according to the provided graph.
Namespace: Comuna
Assembly: Comuna (in Comuna.dll) Version: 1.0.0

C#
public CommunityAlgorithm( Network network, int numPasses = -1, double minModularity = 1E-06 )
Parameters
- network
- Type: ComunaNetwork
The network graph to extract communities from. - numPasses (Optional)
- Type: SystemInt32
The number of passes for one level computation. If -1, the algorithm computes as many passes as needed to increase modularity. - minModularity (Optional)
- Type: SystemDouble
The criterion used to perform a new pass. If 0, even a minor increase is enough to perform one more pass.
