You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-16Lines changed: 27 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Original sources:
30
30
-[Changelog](#changelog)
31
31
-[Related Projects](#related-projects)
32
32
33
-
## Compilation
33
+
## Compilation
34
34
35
35
In order to compile, type: `$ make`
36
36
@@ -41,22 +41,31 @@ To run the program, type:
41
41
./benchmark [FLAG] [P]
42
42
43
43
[FLAG] [P]
44
-
-N number of nodes
45
-
-k average degree
46
-
-maxk maximum degree
47
-
-mut mixing parameter for the topology
48
-
-muw mixing parameter for the weights
49
-
-beta exponent for the weight distribution
50
-
-t1 minus exponent for the degree sequence
51
-
-t2 minus exponent for the community size distribution
52
-
-minc minimum for the community sizes
53
-
-maxc maximum for the community sizes
54
-
-on number of overlapping nodes
55
-
-om number of memberships of the overlapping nodes
56
-
-C [average clustering coefficient]
44
+
-N [number of nodes]
45
+
-k [average degree]
46
+
-maxk [maximum degree]
47
+
-mut [mixing parameter for the topology]
48
+
-muw [mixing parameter for the weights]
49
+
-beta [exponent for the weight distribution]
50
+
-t1 [minus exponent for the degree sequence]
51
+
-t2 [minus exponent for the community size distribution]
52
+
-minc [minimum for the community sizes]
53
+
-maxc [maximum for the community sizes]
54
+
-on [number of overlapping nodes]
55
+
-om [number of memberships of the overlapping nodes]
56
+
-C [Average clustering coefficient]
57
+
-cnl [output communities as strings of nodes (input format for NMI evaluation)]
58
+
-name [base name for the output files]. It is used for the network, communities and statistics; files extensions are added automatically:
59
+
.nsa - network, represented by space/tab separated arcs
60
+
.nse - network, represented by space/tab separated edges
61
+
{.cnl, .nmc} - communities, represented by nodes lists '.cnl' if '-cnl' is used, otherwise as a nodes membership in communities '.nmc')
62
+
.nst - network statistics
63
+
-seed [file name of the random seed, default: seed.txt]
64
+
-a [yield directed network (arcs) rather than undirected (edges), default: edges]
65
+
57
66
```
58
67
59
-
In this program you can assign the number of overlapping nodes (option -on) and assign the number of memberships for them (option `-om`). The other nodes will have only one membership. For instance, typing
68
+
In this program you can assign the number of overlapping nodes (option -on) and assign the number of memberships for them (option `-om`). The other nodes will have only one membership. For instance, typing
60
69
```
61
70
./benchmark [flags...] -N 1000 -on 20 -om 2
62
71
```
@@ -109,7 +118,9 @@ Thanks to:
109
118
110
119
## Changelog
111
120
Additionally implemented features on top of the original LFR Benchmark are the following:
112
-
- Parameter `-cnl` (ommunity nodes list) added to output communities (clusters) as lists of
0 commit comments