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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title>2.1.1.0 model_MDM.py</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<!-- html,index=2,3,4,5,next -->
<meta name="src" content="mammult_doc.tex">
<meta name="date" content="2015-10-19 16:26:00">
<link rel="stylesheet" type="text/css" href="mammult_doc.css">
</head><body
>
<!--l. 3--><div class="crosslinks"><p class="noindent">[<a
href="mammult_docsu39.html" >next</a>] [<a
href="mammult_docsu37.html" >prev</a>] [<a
href="mammult_docsu37.html#tailmammult_docsu37.html" >prev-tail</a>] [<a
href="#tailmammult_docsu38.html">tail</a>] [<a
href="mammult_docsu36.html#mammult_docsu38.html" >up</a>] </p></div>
<h5 class="subsubsectionHead"><a
id="x44-430002.1.1"></a><span
class="cmtt-10x-x-109">model</span><span
class="cmtt-10x-x-109">_MDM.py</span></h5>
<!--l. 3--><p class="noindent" ><span
class="cmbx-10x-x-109">NAME</span>
<!--l. 3--><p class="indent" > <span
class="cmbx-10x-x-109">model</span><span
class="cmbx-10x-x-109">_MDM.py </span>- Multi-activity Deterministic Model.
<!--l. 3--><p class="noindent" ><span
class="cmbx-10x-x-109">SYNOPSYS</span>
<!--l. 3--><p class="indent" > <span
class="cmbx-10x-x-109">model</span><span
class="cmbx-10x-x-109">_MDM.py </span><span
class="cmmi-10x-x-109"><</span><span
class="cmitt-10x-x-109">Bi</span><span
class="cmitt-10x-x-109">_file</span><span
class="cmmi-10x-x-109">> <</span><span
class="cmitt-10x-x-109">M</span><span
class="cmmi-10x-x-109">></span>
<!--l. 23--><p class="noindent" ><span
class="cmbx-10x-x-109">DESCRIPTION</span>
<!--l. 23--><p class="indent" > This is the Multi-activity Deterministic Model (MDM). In this model each
node <span
class="cmmi-10x-x-109">i </span>is considered active if it was active in the reference multiplex, maintains
the same value of node activity <span
class="cmmi-10x-x-109">B</span><sub><span
class="cmmi-8">i</span></sub> (i.e., the number of layers in which it was
active) and is associated an activity vector sampled uniformly at random from
the <span
class="cmex-10x-x-109">(</span><span
class="cmmi-8">M</span>
<span
class="cmmi-8">B</span><sub><span
class="cmmi-6">i</span></sub><span
class="cmex-10x-x-109">)</span>
possible activity vectors with <span
class="cmmi-10x-x-109">B</span><sub><span
class="cmmi-8">i</span></sub> non-null entries.
<!--l. 23--><p class="indent" > The file <span
class="cmti-10x-x-109">Bi</span><span
class="cmti-10x-x-109">_file </span>is in the format:
<!--l. 23--><p class="indent" >   <span
class="cmti-10x-x-109">Bi N(Bi)</span>
<!--l. 23--><p class="indent" > where <span
class="cmti-10x-x-109">Bi </span>is a value of node activity and <span
class="cmti-10x-x-109">N(Bi) </span>is the number of nodes which
had node activity equaly to <span
class="cmti-10x-x-109">Bi </span>in the reference multiplex.
<!--l. 23--><p class="indent" > The parameter <span
class="cmti-10x-x-109">M </span>is the number of layers in the multiplex.
<!--l. 34--><p class="noindent" ><span
class="cmbx-10x-x-109">OUTPUT</span>
<!--l. 34--><p class="indent" > The program prints on <span
class="cmtt-10x-x-109">stdout </span>a distribution of bit-strings, in the
format:
<!--l. 34--><p class="indent" >   <span
class="cmti-10x-x-109">Bi bitstring count</span>
<!--l. 34--><p class="indent" > where <span
class="cmti-10x-x-109">bitstring </span>is the activity bitstring, <span
class="cmti-10x-x-109">Bi </span>is the number of non-zero entries
of <span
class="cmti-10x-x-109">bitstring </span>and <span
class="cmti-10x-x-109">count </span>is the number of times that <span
class="cmti-10x-x-109">bitstrings </span>appear in the null
model.
<!--l. 37--><p class="noindent" ><span
class="cmbx-10x-x-109">REFERENCE</span>
<!--l. 37--><p class="indent" > V. Nicosia, V. Latora, “Measuring and modeling correlations in multiplex
networks”, <span
class="cmti-10x-x-109">Phys. Rev. E </span><span
class="cmbx-10x-x-109">92</span>, 032805 (2015).
<!--l. 37--><p class="indent" > Link to paper: <a
href="http://journals.aps.org/pre/abstract/10.1103/PhysRevE.92.032805" class="url" ><span
class="cmtt-10x-x-109">http://journals.aps.org/pre/abstract/10.1103/PhysRevE.92.032805</span></a>
<!--l. 3--><div class="crosslinks"><p class="noindent">[<a
href="mammult_docsu39.html" >next</a>] [<a
href="mammult_docsu37.html" >prev</a>] [<a
href="mammult_docsu37.html#tailmammult_docsu37.html" >prev-tail</a>] [<a
href="mammult_docsu38.html" >front</a>] [<a
href="mammult_docsu36.html#mammult_docsu38.html" >up</a>] </p></div>
<!--l. 3--><p class="indent" > <a
id="tailmammult_docsu38.html"></a>
</body></html>
|