Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 901 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 901 Bytes

clustering-tools

Requirements

  • GCC 5+
  • cmake 2.8

Compile

cmake src
make -C src

Fast Unfolding Algorithm

Usage

$ python fast_unfolding.py -h
Perform the fast unfolding algorithm over a bivariate distribution.

positional arguments:
  INPUT                 the input file that contains the bivariate
                        distribution
  N                     the number of vertices in the graph
  OUTPUT                the output file to store the detected communities

optional arguments:
  -h, --help            show this help message and exit
  -t FILE, --time FILE  record the consumption time to FILE
  -s FILE, --size FILE  record the number of vertices in each round to FILE
  -i FILE, --iter FILE  record the number of iterations in each round to FILE
  -3c, --three_column   use three-column formation for bivariate distribution

Examples