CommunityAlgorithm.Update Method

Comuna.NET

CommunityAlgorithmUpdate Method

Computes communities in the graph iteratively until there are changes in any node's community or the changes in modularity are large enough.

Namespace:  Comuna
Assembly:  Comuna (in Comuna.dll) Version: 1.0.0
Syntax
C#
public bool Update(
	bool renumberCommunities = true
)
Request Example View Source

Parameters

renumberCommunities (Optional)
Type: SystemBoolean
Whether to renumber communities after the update by calling RenumberCommunities.

Return Value

Type: Boolean
true, if some node changed community, false otherwise.
See Also