From d016e1210935ab70eada96a0a8a8717c8cd75309 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 23 Apr 2015 22:40:25 +0100 Subject: License statement added to all the python files --- python/multired.py | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'python/multired.py') diff --git a/python/multired.py b/python/multired.py index 7482877..3952eec 100644 --- a/python/multired.py +++ b/python/multired.py @@ -1,3 +1,45 @@ +# +# +# multired.py +# +# +# Copyright (C) 2015 Vincenzo (Enzo) Nicosia +# +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# long with this program. If not, see . +# +# +# +# This module provides the class multiplex_red, which implements the +# algorithm for the structural reduction of multi-layer networks +# based on the Von Neumann entropy and Quantum Jensen-Shannon +# divergence of graphs. +# +# If you use this code please cite the paper: +# +# M. De Domenico, V. Nicosia, A. Arenas, V. Latora, +# "Structural reducibility of multilayer networks" +# Nat. Commun. 6, 6864 (2015) doi:10.1038/ncomms7864 +# +# -------------------------------------------- +# +# -- 2015/04/23 -- release 0.1 +# +# + + + import sys import math import numpy as np -- cgit v1.2.3