summaryrefslogtreecommitdiff
path: root/doc/html/mammult_docsu5.html
blob: 88c4386f6f1eb6c065cd1aacee99e5025134299f (plain)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>1.1.1.0 layer_activity_vectors.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_docsu6.html" >next</a>] [<a 
href="mammult_docsu4.html" >prev</a>] [<a 
href="mammult_docsu4.html#tailmammult_docsu4.html" >prev-tail</a>] [<a 
href="#tailmammult_docsu5.html">tail</a>] [<a 
href="mammult_docsu1.html#mammult_docsu5.html" >up</a>] </p></div>
   <h5 class="subsubsectionHead"><a 
 id="x8-70001.1.1"></a><span 
class="cmtt-10x-x-109">layer</span><span 
class="cmtt-10x-x-109">_activity</span><span 
class="cmtt-10x-x-109">_vectors.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">layer</span><span 
class="cmbx-10x-x-109">_activity</span><span 
class="cmbx-10x-x-109">_vectors.py </span>- compute the activity vectors of all the layers of
a multiplex.
<!--l. 3--><p class="noindent" ><span 
class="cmbx-10x-x-109">SYNOPSYS</span>
<!--l. 3--><p class="indent" >   <span 
class="cmbx-10x-x-109">layer</span><span 
class="cmbx-10x-x-109">_activity</span><span 
class="cmbx-10x-x-109">_vectors.py  </span><span 
class="cmmi-10x-x-109">&#x003C;</span><span 
class="cmitt-10x-x-109">layer1</span><span 
class="cmmi-10x-x-109">&#x003E; </span><span 
class="cmitt-10x-x-109">[</span><span 
class="cmmi-10x-x-109">&#x003C;</span><span 
class="cmitt-10x-x-109">layer2</span><span 
class="cmmi-10x-x-109">&#x003E; </span><span 
class="cmitt-10x-x-109">...]</span>
<!--l. 15--><p class="noindent" ><span 
class="cmbx-10x-x-109">DESCRIPTION</span>
<!--l. 15--><p class="indent" >   Compute and print on output the activity vectors of the layers of a multiplex
network, where the layers are given as input in the files <span 
class="cmti-10x-x-109">layer1</span>, <span 
class="cmti-10x-x-109">layer2</span>,
etc.
<!--l. 15--><p class="indent" >   Each input file contains the (undirected) edge list of a layer, and each line is
in the format:
<!--l. 15--><p class="indent" >   &#x00A0;    <span 
class="cmti-10x-x-109">src</span><span 
class="cmti-10x-x-109">_ID dest</span><span 
class="cmti-10x-x-109">_ID</span>
<!--l. 15--><p class="indent" >   where <span 
class="cmti-10x-x-109">src</span><span 
class="cmti-10x-x-109">_ID </span>and <span 
class="cmti-10x-x-109">dest</span><span 
class="cmti-10x-x-109">_ID </span>are the IDs of the two endpoints of an
edge.
<!--l. 25--><p class="noindent" ><span 
class="cmbx-10x-x-109">OUTPUT</span>
<!--l. 25--><p class="indent" >   The program prints on <span 
class="cmtt-10x-x-109">stdout </span>a list of lines, where the n-th line contains the
activity vector of the n-th layer, i.e. a bit-string where each bit is set to
&#8220;1&#8221; if the corresponding node is active on the n-th layer, and to &#8220;0&#8221;
otherwise.
<!--l. 25--><p class="noindent" >As usual, node IDs start from zero and proceed sequentially, without gaps, i.e., if
a node ID is not present in any of the layer files given as input, the program
considers it as being isolated on all the layers.
<!--l. 27--><p class="noindent" ><span 
class="cmbx-10x-x-109">REFERENCE</span>
<!--l. 27--><p class="indent" >   V. Nicosia, V. Latora, &#8220;Measuring and modeling correlations in multiplex
networks&#8221;, <span 
class="cmti-10x-x-109">Phys. Rev. E </span><span 
class="cmbx-10x-x-109">92</span>, 032805 (2015).
<!--l. 27--><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. 4--><div class="crosslinks"><p class="noindent">[<a 
href="mammult_docsu6.html" >next</a>] [<a 
href="mammult_docsu4.html" >prev</a>] [<a 
href="mammult_docsu4.html#tailmammult_docsu4.html" >prev-tail</a>] [<a 
href="mammult_docsu5.html" >front</a>] [<a 
href="mammult_docsu1.html#mammult_docsu5.html" >up</a>] </p></div>
<!--l. 4--><p class="indent" >   <a 
 id="tailmammult_docsu5.html"></a>  
</body></html>