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 diff --git a/python/test/simple_test.py b/python/test/simple_test.py index e2919c6..7c5493d 100644 --- a/python/test/simple_test.py +++ b/python/test/simple_test.py @@ -1,3 +1,26 @@ +# +# +# simple_test.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 . +# + + import multired as mr import sys diff --git a/python/test/simple_test_approx.py b/python/test/simple_test_approx.py index fe2ab30..4558ec2 100644 --- a/python/test/simple_test_approx.py +++ b/python/test/simple_test_approx.py @@ -1,3 +1,26 @@ +# +# +# simple_test_approx.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 . +# + + import multired as mr import sys diff --git a/python/test/test.py b/python/test/test.py index 5ccb490..4a1d87a 100644 --- a/python/test/test.py +++ b/python/test/test.py @@ -1,3 +1,26 @@ +# +# +# test.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 . +# + + import multired as mr import sys diff --git a/python/test/test_approx.py b/python/test/test_approx.py index 353436c..6538c19 100644 --- a/python/test/test_approx.py +++ b/python/test/test_approx.py @@ -1,3 +1,25 @@ +# +# +# test_approx.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 . +# + import multired as mr import sys