summaryrefslogtreecommitdiff
path: root/doc/html/mammult_docsu51.html
blob: 8eab351ba95b2f6f1f9b20e57d59b4e3168103ee (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>2.3.1.0 tune_rho</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_docsu52.html" >next</a>] [<a 
href="mammult_docsu50.html" >prev</a>] [<a 
href="mammult_docsu50.html#tailmammult_docsu50.html" >prev-tail</a>] [<a 
href="#tailmammult_docsu51.html">tail</a>] [<a 
href="mammult_docsu50.html#mammult_docsu51.html" >up</a>] </p></div>
   <h5 class="subsubsectionHead"><a 
 id="x59-580002.3.1"></a><span 
class="cmtt-10x-x-109">tune</span><span 
class="cmtt-10x-x-109">_rho</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">tune</span><span 
class="cmbx-10x-x-109">_rho </span>- Construct a multiplex with prescribed inter-layer correlations.
<!--l. 3--><p class="noindent" ><span 
class="cmbx-10x-x-109">SYNOPSYS</span>
<!--l. 3--><p class="indent" >   <span 
class="cmbx-10x-x-109">tune</span><span 
class="cmbx-10x-x-109">_rho  </span><span 
class="cmmi-10x-x-109">&#x003C;</span><span 
class="cmitt-10x-x-109">rank1</span><span 
class="cmmi-10x-x-109">&#x003E; &#x003C;</span><span 
class="cmitt-10x-x-109">rank2</span><span 
class="cmmi-10x-x-109">&#x003E; &#x003C;</span><span 
class="cmitt-10x-x-109">rho</span><span 
class="cmmi-10x-x-109">&#x003E; &#x003C;</span><span 
class="cmitt-10x-x-109">eps</span><span 
class="cmmi-10x-x-109">&#x003E; &#x003C;</span><span 
class="cmitt-10x-x-109">beta</span><span 
class="cmmi-10x-x-109">&#x003E; </span><span 
class="cmitt-10x-x-109">[RND|NAT|INV]</span>
<!--l. 33--><p class="noindent" ><span 
class="cmbx-10x-x-109">DESCRIPTION</span>
<!--l. 33--><p class="indent" >   This programs tunes the inter-layer degree correlation coefficient <span 
class="cmmi-10x-x-109">&rho;</span>
(Spearman&#8217;s rank correlation) of two layers, by adjusting the inter-layer pairing
of nodes. The files <span 
class="cmti-10x-x-109">rank1 </span>and <span 
class="cmti-10x-x-109">rank2 </span>are the rankings of nodes in the first and
second layer, where the n-th line of the file contains the rank of the n-th node
(the highest ranked node has rank equal to 1).
                                                                     

                                                                     
<!--l. 33--><p class="indent" >   The parameter <span 
class="cmti-10x-x-109">rho </span>is the desired value of the Spearman&#8217;s rank correlation
coefficient, while <span 
class="cmti-10x-x-109">eps </span>is the accuracy of <span 
class="cmti-10x-x-109">rho</span>. For instance, if <span 
class="cmti-10x-x-109">rho </span>is set equal to
-0.25 and <span 
class="cmti-10x-x-109">eps </span>is equal to 0.0001, the program stops when the configuration of
node pairing corresponds to a value of <span 
class="cmmi-10x-x-109">&rho; </span>which differs from -0.25 by less than
0.0001.
<!--l. 33--><p class="indent" >   The parameter <span 
class="cmti-10x-x-109">beta </span>is the typical inverse temperature of simulated
annealing.
<!--l. 33--><p class="indent" >   If no other parameter is specified, or if the last parameter is <span 
class="cmtt-10x-x-109">RND</span>, the program
starts from a random pairing of nodes. If the last parameter is <span 
class="cmtt-10x-x-109">NAT </span>then the
program assumes that the initial pairing is the natural one, where the nodes have
the same ID on both layers. Finally, if <span 
class="cmtt-10x-x-109">INV </span>is specified, the initial pairing is the
inverse pairing, i.e. the one where node 0 on layer 1 is paired with node N-1 on
layer 2, and so on.
<!--l. 43--><p class="noindent" ><span 
class="cmbx-10x-x-109">OUTPUT</span>
<!--l. 43--><p class="indent" >   The program prints on <span 
class="cmtt-10x-x-109">stdout </span>a pairing, i.e. a list of lines in the
format:
<!--l. 43--><p class="indent" >   &#x00A0;     <span 
class="cmti-10x-x-109">IDL1 IDL2</span>
<!--l. 43--><p class="indent" >   where <span 
class="cmti-10x-x-109">IDL1 </span>is the ID of the node on layer 1 and <span 
class="cmti-10x-x-109">IDL2 </span>is the corresponding
ID of the same node on layer 2.
<!--l. 45--><p class="noindent" ><span 
class="cmbx-10x-x-109">REFERENCE</span>
<!--l. 45--><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. 45--><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_docsu52.html" >next</a>] [<a 
href="mammult_docsu50.html" >prev</a>] [<a 
href="mammult_docsu50.html#tailmammult_docsu50.html" >prev-tail</a>] [<a 
href="mammult_docsu51.html" >front</a>] [<a 
href="mammult_docsu50.html#mammult_docsu51.html" >up</a>] </p></div>
<!--l. 3--><p class="indent" >   <a 
 id="tailmammult_docsu51.html"></a>  
</body></html>