You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
4.7 KiB
97 lines
4.7 KiB
<!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 degs_to_binary.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 17:14:00">
|
|
<link rel="stylesheet" type="text/css" href="mammult_doc.css">
|
|
</head><body
|
|
>
|
|
<!--l. 3--><div class="crosslinks"><p class="noindent">[<a
|
|
href="mammult_docsu10.html" >next</a>] [<a
|
|
href="mammult_docsu8.html" >prev</a>] [<a
|
|
href="mammult_docsu8.html#tailmammult_docsu8.html" >prev-tail</a>] [<a
|
|
href="#tailmammult_docsu9.html">tail</a>] [<a
|
|
href="mammult_docsu1.html#mammult_docsu9.html" >up</a>] </p></div>
|
|
<h5 class="subsubsectionHead"><a
|
|
id="x13-120001.1.1"></a><span
|
|
class="cmtt-10x-x-109">degs</span><span
|
|
class="cmtt-10x-x-109">_to</span><span
|
|
class="cmtt-10x-x-109">_binary.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">degs</span><span
|
|
class="cmbx-10x-x-109">_to</span><span
|
|
class="cmbx-10x-x-109">_binary.py </span>- compute the activity vectors of all the nodes 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">degs</span><span
|
|
class="cmbx-10x-x-109">_to</span><span
|
|
class="cmbx-10x-x-109">_binary.py </span><span
|
|
class="cmmi-10x-x-109"><</span><span
|
|
class="cmitt-10x-x-109">degree</span><span
|
|
class="cmitt-10x-x-109">_vectors</span><span
|
|
class="cmmi-10x-x-109">></span>
|
|
<!--l. 14--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">DESCRIPTION</span>
|
|
<!--l. 14--><p class="indent" > Take a file which contains, on the n-th line, the degrees at each layer of the
|
|
n-th node, (e.g., the result of the script <span
|
|
class="cmtt-10x-x-109">node</span><span
|
|
class="cmtt-10x-x-109">_degree</span><span
|
|
class="cmtt-10x-x-109">_vectors.py</span>), in the
|
|
format:
|
|
<!--l. 14--><p class="indent" >   <span
|
|
class="cmti-10x-x-109">noden</span><span
|
|
class="cmti-10x-x-109">_deg</span><span
|
|
class="cmti-10x-x-109">_lay1 noden</span><span
|
|
class="cmti-10x-x-109">_deg</span><span
|
|
class="cmti-10x-x-109">_lay2 ... noden</span><span
|
|
class="cmti-10x-x-109">_deg</span><span
|
|
class="cmti-10x-x-109">_layM</span>
|
|
<!--l. 14--><p class="noindent" >and compute the corresponding node activity bit-strings, where a ”1”
|
|
signals the presence of the node on that layer, while a zero indicates its
|
|
absence.
|
|
<!--l. 27--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">OUTPUT</span>
|
|
<!--l. 27--><p class="indent" > The program returns on <span
|
|
class="cmtt-10x-x-109">stdout </span>a list of lines, where the n-th line is the
|
|
activity bit-string of the n-th node. Additionally, the program prints on <span
|
|
class="cmtt-10x-x-109">stderr</span>
|
|
the distribution of all activity bit-strings, in the format:
|
|
<!--l. 27--><p class="indent" >   <span
|
|
class="cmti-10x-x-109">Bn Bit-string count</span>
|
|
<!--l. 27--><p class="noindent" >Where <span
|
|
class="cmti-10x-x-109">B </span>is the number of ones in the activity bit-string (i.e., the node-activity
|
|
associated to that activity bit-string), <span
|
|
class="cmti-10x-x-109">Bit-string </span>is the activity bit-string and
|
|
<span
|
|
class="cmti-10x-x-109">count </span>is the number of times that particular activity bit-string appears in the
|
|
multiplex.
|
|
<!--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. 4--><div class="crosslinks"><p class="noindent">[<a
|
|
href="mammult_docsu10.html" >next</a>] [<a
|
|
href="mammult_docsu8.html" >prev</a>] [<a
|
|
href="mammult_docsu8.html#tailmammult_docsu8.html" >prev-tail</a>] [<a
|
|
href="mammult_docsu9.html" >front</a>] [<a
|
|
href="mammult_docsu1.html#mammult_docsu9.html" >up</a>] </p></div>
|
|
<!--l. 4--><p class="indent" > <a
|
|
id="tailmammult_docsu9.html"></a>
|
|
</body></html>
|
|
|