-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_cplusplus.sh
50 lines (45 loc) · 943 Bytes
/
example_cplusplus.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#! bin/sh
# test 1
./biSBM southernWomen.edgelist southernWomen.types southernWomen 2 3 1 3
echo "\n\n"
# test 2
./biSBM test.edgelist test.types test 2 3 1 3
echo "\n\n"
# Should produce output:
# ***** Communities by type/part *****
# 0,1,
# 2,3,4,
# Using biSBM with degree correction.
# edges: southernWomen.edgelist
# types: southernWomen.types
# K: 2,3
# KL steps 3
# output: southernWomen
# TYPE 0 : 18
# TYPE 1 : 14
# NODES: 32
# Read in twice edges = 178
# >1,0.000000,-367.657617
# >2,0.000000,-367.657617
# >3,0.000000,-367.657617
# Final Score: -367.658
#
#
#
# ***** Communities by type/part *****
# 0,1,
# 2,3,4,
# Using biSBM with degree correction.
# edges: test.edgelist
# types: test.types
# K: 2,3
# KL steps 3
# output: test
# TYPE 0 : 700
# TYPE 1 : 300
# NODES: 1000
# Read in twice edges = 15392
# >1,0.000000,-65525.804037
# >2,1.000000,-65525.804037
# >3,1.000000,-65525.804037
# Final Score: -65525.8