-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
143 lines (103 loc) · 7.21 KB
/
Copy pathREADME
File metadata and controls
143 lines (103 loc) · 7.21 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
Installation instructions of RNet
Copyright (C) 2013 Matheus Caldas Santos
This file is part of RNet 0.3
RNet 0.3 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
RNet 0.3 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Foobar. If not, see <http://www.gnu.org/licenses/>.
,::,.
.:lkOOddkx;.
,xdOOOOOOddko:
.oddOOOOOdddkox,
,okdddddddkkoxl;.
.:xONdookkkkkoooxl;,
.:xO@W@@NKllxxxxxxllc:,.
.:xON@@NXKOkc,.,:;;;;;:::,.
.,cxokool;,. .;o0N@@NX0Ooc,. ..,,;;;;.
:okddddddddkokKN@NXK0dx;,. ;ccc, .,:;cc;:,.
:ookkddddddkkkOXKOkl:,. ,oOOo. ,cxxxxxxll;.
cxookkkkkkkkkoxx;,. lOOd; .lxxxxxxxllc:.
,cxxooookkoooxlckOol:. ,kOdo. ,clxxxkdklc;:.
.,;cllxo0XXOxc:;O0KXXXKdx;,. ;ddkc .:cclldOOkc,.
.,,::xX@@Nk,...,;lodO0KKKKdoc,. .oddo, .,::lO00d:
...,KN@@K, ..,;lodO00KKOol:,. ,kdkc,.. ..l0KKO:
kN@@Nl .,,;lodOO00Okx;,,cokkoxxl:. .kKXKO;,:,,..
;X@@N0. ..,:cxkdOO0Ooooooooxlc. :OOdddddkkkol:.
.0N@@X; ..,;loxxxood00OOdkooxllc;:,,,... .ckddddddddkkkoox;.
oX@@Nk ,cllllxxxxokddOO00KKKXXXXXXXK00kokdddddddkkkkooxxlc.
:KN@@X, ,:;ccc;:,,,..,,:;clxokdOO00KKKkkkkkkkkkkkkoooxxllc:.
.ON@@Nk ..,,,,.. ....,,:;;loookkkkkoooooxxxlcc;,.
lX@@NK, ,;oOXNdooooooxxxxxllcc;:,,.
,KN@@Xx .,coOX@NNNXK0olllllllllcc;;:,,,.
.dX@@N0. .,coON@NNXXK0Odoxc::;;;;;;;;::,,,,,.
cXN@NXc .:lkKN@NNXXK0Okoxc:,.. ..,,,,,,,,,,,,..
,0N@@Nd. .:xdKN@NNXXK0Okol;:,.. .........
kXN@NK: ,;xOX@@NNXKK0dkxl;,,..
;KN@NXo,.. ,;oOX@NNNXKK0dkxl;,,..
,dOdddddkkol:. .,;oOXNNNNXK00dkxl;,,..
.cokkddddddkkkkoc:coOXNNNXXK0Odoxc;,,..
,xokkkkkkkkkkkkkoONNXXKK0Okoxc:,.. _____ _ _ ______ _______
,xoookkkkkkkkkooook0Odkolc:,.. | __ \| \ | | ____|__ __|
;xxooooooooooooxxxllc:,.. | |__) | \| | |__ | |
.;llxxxxxxxxxxxxllcc;,. | _ /| . ` | __| | |
,;ccllllllllllcc;;:,. | | \ \| |\ | |____ | |
.,::;;ccccc;;;::,,,. |_| \_\_| \_|______| |_|
.,,,,,,,,,,,,,,..
..,,,,,,,,..
....
RNet is a realistic random network generator. It generates a social network from
some statistical parameters. It deliberately assign communities to each node to
achieve realistic social behavior.
RNet is __highly flexible__, it can accept several parameters. Besides the size of
the generated network, it also accepts: outdegree, indegree and community size
probability distributions, probability of connecting inside a node community and
probability of connecting a node to a totally random node. These parameters make
possible to generate a large variety of networks with much smaller restrictions
than other generators.
RNet is also __very fast__, it is possible to generate graphs with millions of
vertices in matter of seconds! It uses multithreading to better explore modern CPU
power.
Compilation
-----------
- Unux/Linux
-- Required
GCC - The GNU Compiler Collection (GCC) is a compiler system produced by the
GNU Project supporting various programming languages. GCC is a key
component of the GNU toolchain.
OpenMP - Support is required from the compiler, if you wish to use other compiler
make sure it has OpenMP support.
CMake - Cmake is a cross-platform free software program for managing the build
process of software using a compiler-independent method.
-- Optional:
CCMake - Ccmake is the CMake curses interface.
-- Commands:
# cd rnet/build
# cmake ../src
# make -j4
# ./rnet
- Mac OS:
Calling gcc in the command line actually calls for XCode's LLVM, which uses clang
and does not currently support openMP. To compile you must first download a working
version of gcc (with homebrew?) and set cmake to work with it:
CC=[path-to-gcc] CXX=[path-to-g++] cmake ../src
- Windows:
1) Verify if MinGW in in the PATH (to put it there follow the instructions in
"Environment Settings" in [http://www.mingw.org/wiki/Getting_Started]).
2) If you never used OpenMP with MinGW, you will also need to install OpenMP
libraries. To do so, open the MonGW installation manager, go to "All Packages >
MinGW > MinGW Base System" and install "mingw32-libgomp" and "mingw32-pthreads-w32".
3) One way to configure the RNet CMake is to go to CMake GUI, open
configuration menu, select "MSYS Makefiles" option on the dropdown and "Specify
native compilers" in the window list. After, click "Next", fill paths to GCC and G++
(ex: C:/MinGW/bin/gcc.exe). Than, hit "Finish" to configure CMake.
4) Hit the "Generate" button to generate Makefile.
5) To compile RNet, go to MSYS, browse the build directory and execute "make"
("mingw32-make" will not work properly due to POSIX path incompatibility:
[http://blog.gmane.org/gmane.comp.gnu.make.windows/month=20050601]).
Report bugs to github.com/mtcs/rnet