Class CommunityDetector
java.lang.Object
es.uam.eps.ir.relison.examples.sna.CommunityDetector
public class CommunityDetector
extends java.lang.Object
Program for computing community partitions of an individual network.
-
Constructor Summary
Constructors Constructor Description CommunityDetector()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
Computes a community partition for several algorithms.
-
Constructor Details
-
CommunityDetector
public CommunityDetector()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionComputes a community partition for several algorithms.- Parameters:
args
- Execution arguments- Graph: The network graph
- Multigraph: true if the network is a multigraph, false otherwise.
- Directed: true if the network is directed, false otherwise.
- Weighted: true if the network is weighted, false otherwise.
- Self-loops: true if we allow self-loops, false otherwise.
- Algorithms: YAML file containing the configuration of the community detection algorithms.
- Output: Directory in which to store the communities.
- Throws:
java.io.IOException
- if something fails while reading / writing.
-