diff options
Diffstat (limited to 'doc/html/mammult_docsu7.html')
-rw-r--r-- | doc/html/mammult_docsu7.html | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/doc/html/mammult_docsu7.html b/doc/html/mammult_docsu7.html new file mode 100644 index 0000000..6d0949e --- /dev/null +++ b/doc/html/mammult_docsu7.html @@ -0,0 +1,105 @@ +<!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 hamming_dist.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. 4--><div class="crosslinks"><p class="noindent">[<a +href="mammult_docsu8.html" >next</a>] [<a +href="mammult_docsu6.html" >prev</a>] [<a +href="mammult_docsu6.html#tailmammult_docsu6.html" >prev-tail</a>] [<a +href="#tailmammult_docsu7.html">tail</a>] [<a +href="mammult_docsu1.html#mammult_docsu7.html" >up</a>] </p></div> + <h5 class="subsubsectionHead"><a + id="x10-90001.1.1"></a><span +class="cmtt-10x-x-109">hamming</span><span +class="cmtt-10x-x-109">_dist.py</span></h5> +<!--l. 4--><p class="noindent" ><span +class="cmbx-10x-x-109">NAME</span> +<!--l. 4--><p class="indent" > <span +class="cmbx-10x-x-109">hamming</span><span +class="cmbx-10x-x-109">_dist.py </span>- compute the normalised Hamming distance between all +the pairs of layers of a multiplex. +<!--l. 4--><p class="noindent" ><span +class="cmbx-10x-x-109">SYNOPSYS</span> +<!--l. 4--><p class="indent" > <span +class="cmbx-10x-x-109">hamming</span><span +class="cmbx-10x-x-109">_dist.py </span><span +class="cmmi-10x-x-109"><</span><span +class="cmitt-10x-x-109">layer1</span><span +class="cmmi-10x-x-109">> <</span><span +class="cmitt-10x-x-109">layer2</span><span +class="cmmi-10x-x-109">> </span><span +class="cmitt-10x-x-109">[</span><span +class="cmmi-10x-x-109"><</span><span +class="cmitt-10x-x-109">layer3</span><span +class="cmmi-10x-x-109">></span><span +class="cmitt-10x-x-109">...]</span> +<!--l. 18--><p class="noindent" ><span +class="cmbx-10x-x-109">DESCRIPTION</span> +<!--l. 18--><p class="indent" > Compute and print on output the normalised Hamming distance <span +class="cmmi-10x-x-109">H</span><sub><span +class="cmmi-8">α,β</span></sub> (i.e., +the fraction of nodes which are active on either of the layers, but not on both) +between all pairs of layers. 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. 18--><p class="indent" > Each input file contains the (undirected) edge list of a layer, and each line is +in the format: +<!--l. 18--><p class="indent" >   <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. 18--><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. 29--><p class="noindent" ><span +class="cmbx-10x-x-109">OUTPUT</span> +<!--l. 29--><p class="indent" > The program prints on <span +class="cmtt-10x-x-109">stdout </span>a list of lines, in the format: +<!--l. 29--><p class="indent" >   <span +class="cmti-10x-x-109">layer1 layer2 hamm</span> +<!--l. 29--><p class="noindent" >where <span +class="cmti-10x-x-109">layer1 </span>and <span +class="cmti-10x-x-109">layer2 </span>are the IDs of the layers, and <span +class="cmti-10x-x-109">hamm </span>is the value of the +normalised Haming distance <span +class="cmmi-10x-x-109">H</span><sub><span +class="cmmi-8">layer</span><span +class="cmr-8">1</span><span +class="cmmi-8">,layer</span><span +class="cmr-8">2</span></sub>. Layers IDs start from zero, are are +associated to the layers in the same order in which the layer files are provided on +the command line. +<!--l. 31--><p class="noindent" ><span +class="cmbx-10x-x-109">REFERENCE</span> +<!--l. 31--><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. 31--><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_docsu8.html" >next</a>] [<a +href="mammult_docsu6.html" >prev</a>] [<a +href="mammult_docsu6.html#tailmammult_docsu6.html" >prev-tail</a>] [<a +href="mammult_docsu7.html" >front</a>] [<a +href="mammult_docsu1.html#mammult_docsu7.html" >up</a>] </p></div> +<!--l. 3--><p class="indent" > <a + id="tailmammult_docsu7.html"></a> +</body></html> |