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.
106 lines
5.1 KiB
106 lines
5.1 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html >
|
|
<head><title>1.1.3.0 cartography_from_deg_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 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_docsu18.html" >next</a>] [<a
|
|
href="mammult_docsu16.html" >prev</a>] [<a
|
|
href="mammult_docsu16.html#tailmammult_docsu16.html" >prev-tail</a>] [<a
|
|
href="#tailmammult_docsu17.html">tail</a>] [<a
|
|
href="mammult_docsu14.html#mammult_docsu17.html" >up</a>] </p></div>
|
|
<h5 class="subsubsectionHead"><a
|
|
id="x21-200001.1.3"></a><span
|
|
class="cmtt-10x-x-109">cartography</span><span
|
|
class="cmtt-10x-x-109">_from</span><span
|
|
class="cmtt-10x-x-109">_deg</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">cartography</span><span
|
|
class="cmbx-10x-x-109">_from</span><span
|
|
class="cmbx-10x-x-109">_deg</span><span
|
|
class="cmbx-10x-x-109">_vectors.py </span>- create a multiplex cartography
|
|
diagram.
|
|
<!--l. 3--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">SYNOPSYS</span>
|
|
<!--l. 3--><p class="indent" > <span
|
|
class="cmbx-10x-x-109">cartography</span><span
|
|
class="cmbx-10x-x-109">_from</span><span
|
|
class="cmbx-10x-x-109">_deg</span><span
|
|
class="cmbx-10x-x-109">_vectors.py </span><span
|
|
class="cmmi-10x-x-109"><</span><span
|
|
class="cmitt-10x-x-109">node</span><span
|
|
class="cmitt-10x-x-109">_deg</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" > Compute and print on output the total degree and the multiplex
|
|
participation coefficient of all the nodes of a multiplex network whose
|
|
list of node degree vectors is provided as input. The input file is in the
|
|
format:
|
|
<!--l. 14--><p class="indent" >   <span
|
|
class="cmti-10x-x-109">IDn</span><span
|
|
class="cmti-10x-x-109">_deg1 IDn</span><span
|
|
class="cmti-10x-x-109">_deg</span><span
|
|
class="cmti-10x-x-109">_2 ... IDn</span><span
|
|
class="cmti-10x-x-109">_degM</span>
|
|
<!--l. 14--><p class="noindent" >where <span
|
|
class="cmti-10x-x-109">IDn</span><span
|
|
class="cmti-10x-x-109">_degX </span>is the degree of node <span
|
|
class="cmmi-10x-x-109">n </span>at layer <span
|
|
class="cmmi-10x-x-109">X</span>. The input file can be
|
|
generated using 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>.
|
|
<!--l. 30--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">OUTPUT</span>
|
|
<!--l. 30--><p class="indent" > The program prints on <span
|
|
class="cmtt-10x-x-109">stdout </span>a list of lines in the format:
|
|
<!--l. 30--><p class="indent" >   <span
|
|
class="cmti-10x-x-109">tot</span><span
|
|
class="cmti-10x-x-109">_deg part</span><span
|
|
class="cmti-10x-x-109">_coeff</span>
|
|
<!--l. 30--><p class="noindent" >where <span
|
|
class="cmti-10x-x-109">tot</span><span
|
|
class="cmti-10x-x-109">_deg </span>is the total degree of the node and <span
|
|
class="cmti-10x-x-109">part</span><span
|
|
class="cmti-10x-x-109">_coeff </span>is the corresponding
|
|
participation coefficient.
|
|
<!--l. 30--><p class="noindent" >As usual, node IDs start from zero and proceed sequentially, without gaps,
|
|
so if one of the lines in the input files contains just zeros, the program
|
|
considers the corresponding node as being isolated on all the layers, and both
|
|
its total degree and multiplex participation coefficient are set equal to
|
|
zero.
|
|
<!--l. 32--><p class="noindent" ><span
|
|
class="cmbx-10x-x-109">REFERENCE</span>
|
|
<!--l. 32--><p class="indent" > F. Battiston, V. Nicosia, V. Latora, “Structural measures for multiplex
|
|
networks”, <span
|
|
class="cmti-10x-x-109">Phys. Rev. E </span><span
|
|
class="cmbx-10x-x-109">89</span>, 032804 (2014).
|
|
<!--l. 32--><p class="indent" > Link to paper: <a
|
|
href="http://journals.aps.org/pre/abstract/10.1103/PhysRevE.89.032804" class="url" ><span
|
|
class="cmtt-10x-x-109">http://journals.aps.org/pre/abstract/10.1103/PhysRevE.89.032804</span></a>
|
|
|
|
|
|
|
|
<!--l. 4--><div class="crosslinks"><p class="noindent">[<a
|
|
href="mammult_docsu18.html" >next</a>] [<a
|
|
href="mammult_docsu16.html" >prev</a>] [<a
|
|
href="mammult_docsu16.html#tailmammult_docsu16.html" >prev-tail</a>] [<a
|
|
href="mammult_docsu17.html" >front</a>] [<a
|
|
href="mammult_docsu14.html#mammult_docsu17.html" >up</a>] </p></div>
|
|
<!--l. 4--><p class="indent" > <a
|
|
id="tailmammult_docsu17.html"></a>
|
|
</body></html>
|
|
|