snap-stanford / snap

Stanford Network Analysis Platform (SNAP) is a general purpose network analysis and graph mining library.
Other
2.16k stars 797 forks source link

The output community file doesn't contain all the input graph's nodes. #176

Closed LiuxyEric closed 4 years ago

LiuxyEric commented 4 years ago

I have a graph file which contains 38833 nodes and 160480 edges. After running the bigclam algorithm, the output community file contains only 25650 nodes.

I used this command to run the algorithm. ./bigclam -i:path-to-file -o:path-to-output -c:1500 -nt:16

I noticed that when I change the number of community, the output node number also change as well. But it's always smaller than the input file.

How can I get all the nodes from the community output file?

roks commented 4 years ago

The remaining nodes are not members of any community and each represent one community.