27
Content-Disposition: inline; filename="
3b9
Last-Modified: Tue, 15 Jul 2025 05:15:50 GMT
Expires: Fri, 13 Jul 2035 05:15:50 GMT
ETag: "882233d6f653583a5b294ede94006512a24463fa"

%%%
%%% node_activity
%%%
\myprogram{{node\_activity.py}}
          {compute the activity of the nodes of a multiplex, i.e. the
            number of layers where each node is not isolated.}
          {$<$layer1$>$ [$<$layer2$>$ ...]}

\mydescription{Compute and print on output the activity of the nodes
  of a multiplex network, whose layers are given as input in the files
  \textit{layer1}, \textit{layer2}, etc.
  
  Each 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{A list of lines, where the n-th line is the value of activity
  of the n-th node, starting from \textbf{0}.}

\myreference{\refcorrelations}


0

HTTP/1.0 500 Internal Server Error
Date: Tue, 15 Jul 2025 05:15:50 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>
