CommunityAlgorithm Methods

Comuna.NET

CommunityAlgorithm Methods

The CommunityAlgorithm type exposes the following members.

Methods
  NameDescription
Public methodDisplayCommunities
Displays the nodes belonging to each community.
Public methodDisplayCommunityGraph
Displays the graph of the existing communities, i.e., without the nodes.
Public methodDisplayNodesCommunities
Displays the community that each node in the network belongs to.
Public methodDisplayPartition
Displays the current partition (with communities renumbered from 0 to k-1).
Public methodDispose
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetCommunityNetwork
Generates a Network of the existing communities, i.e., without the nodes.
Public methodGetHashCode (Inherited from Object.)
Public methodGetModularity
Gets the modularity of the current community partition.
Public methodGetNumberCommunities
Gets the number of active communities, i.e., the communities with one or more elements belonging to it.
Public methodGetType (Inherited from Object.)
Public methodLoadFromFile
Initializes the community partition with the information stored in the given file.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRenumberCommunities
Renumbers each community according to the total number of communities (larger first) and by changing their ID to the lowest one possible. Tries to keep communities IDs if possible to avoid renumbering.
Public methodToString (Inherited from Object.)
Public methodUpdate
Computes communities in the graph iteratively until there are changes in any node's community or the changes in modularity are large enough.
Top
Extension Methods
  NameDescription
Public Extension MethodToD3GraphFile
Saves the network of the given CommunityAlgorithm to a d3.js graph file.
(Defined by D3Extensions.)
Public Extension MethodToGraphvizFile
Saves the given Network to an image file.
(Defined by Extensions.)
Top
See Also