27
Content-Disposition: inline; filename="
82a
Last-Modified: Sun, 13 Jul 2025 17:17:27 GMT
Expires: Wed, 11 Jul 2035 17:17:27 GMT

From a86962cbfd0321387c920a04188512d0de2f3036 Mon Sep 17 00:00:00 2001
From: KatolaZ <katolaz@yahoo.it>
Date: Mon, 19 Oct 2015 16:30:12 +0100
Subject: First commit of MAMMULT documentation

---
 .../latex/structure/activity/hamming_dist.tex      | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 doc/latex/latex/structure/activity/hamming_dist.tex

(limited to 'doc/latex/latex/structure/activity/hamming_dist.tex')

diff --git a/doc/latex/latex/structure/activity/hamming_dist.tex b/doc/latex/latex/structure/activity/hamming_dist.tex
new file mode 100644
index 0000000..3af188f
--- /dev/null
+++ b/doc/latex/latex/structure/activity/hamming_dist.tex
@@ -0,0 +1,31 @@
+\myprogram{{hamming\_dist.py}}
+          {compute the normalised Hamming distance between all the pairs of
+          layers of a multiplex.}
+          {$<$layer1$>$ $<$layer2$>$ [$<$layer3$>$...]}
+
+\mydescription{Compute and print on output the normalised Hamming distance 
+ $H_{\alpha, \beta}$ (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 \textit{layer1}, \textit{layer2}, etc.
+  
+  Each input file contains the (undirected) edge list of a layer, and
+  each line is in the format:
+  
+  \hspace{0.5cm}\textit{src\_ID} \textit{dest\_ID}
+  
+  where \textit{src\_ID} and \textit{dest\_ID} are the IDs of the two
+  endpoints of an edge.}
+
+\myreturn{The program prints on \texttt{stdout} a list of lines, in
+  the format:
+
+  \hspace{0.5cm} \textit{layer1 layer2 hamm}
+
+  \noindent where \textit{layer1} and \textit{layer2} are the IDs of
+  the layers, and \textit{hamm} is the value of the normalised Haming
+  distance $H_{layer1, layer2}$. 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.}
+
+\myreference{\refcorrelations}
-- 
cgit v1.2.3


0

HTTP/1.0 500 Internal Server Error
Date: Sun, 13 Jul 2025 17:17:27 GMT
Server: OpenBSD httpd
Connection: close
Content-Type: text/html
Content-Length: 518

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>500 Internal Server Error</title>
<style type="text/css"><!--
body { background-color: white; color: black; font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }
hr { border: 0; border-bottom: 1px dashed; }
@media (prefers-color-scheme: dark) {
body { background-color: #1E1F21; color: #EEEFF1; }
a { color: #BAD7FF; }
}
--></style>
</head>
<body>
<h1>500 Internal Server Error</h1>
<hr>
<address>OpenBSD httpd</address>
</body>
</html>
