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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws java.io.IOException
      Computes a community partition for several algorithms.
      Parameters:
      args - Execution arguments
      1. Graph: The network graph
      2. Multigraph: true if the network is a multigraph, false otherwise.
      3. Directed: true if the network is directed, false otherwise.
      4. Weighted: true if the network is weighted, false otherwise.
      5. Self-loops: true if we allow self-loops, false otherwise.
      6. Algorithms: YAML file containing the configuration of the community detection algorithms.
      7. Output: Directory in which to store the communities.
      Throws:
      java.io.IOException - if something fails while reading / writing.