From df851f00ace4329f031af3215a531652c686b7f5 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 19 Oct 2015 16:56:08 +0100 Subject: - Added header with LICENSE statement to all the source files - Added INSTALL file - Amended the README file --- INSTALL | 32 +++++++++++++++++++++++ README.md | 14 ++++++++++ dynamics/ising/iltree.c | 16 ++++++++++++ dynamics/ising/multiplex_ising.c | 16 ++++++++++++ dynamics/ising/utils.c | 16 ++++++++++++ dynamics/randomwalks/entropyrate2add.c | 16 ++++++++++++ dynamics/randomwalks/entropyrate2int.c | 16 ++++++++++++ dynamics/randomwalks/entropyrate2mult.c | 16 ++++++++++++ dynamics/randomwalks/iltree.c | 16 ++++++++++++ dynamics/randomwalks/iltree.h | 16 ++++++++++++ dynamics/randomwalks/statdistr2.c | 16 ++++++++++++ dynamics/randomwalks/utils.c | 16 ++++++++++++ dynamics/randomwalks/utils.h | 16 ++++++++++++ models/correlations/fit_utils.c | 16 ++++++++++++ models/correlations/fit_utils.h | 16 ++++++++++++ models/correlations/rank_utils.c | 16 ++++++++++++ models/correlations/rank_utils.h | 16 ++++++++++++ models/correlations/tune_qnn_adaptive.c | 16 ++++++++++++ models/correlations/tune_rho.c | 16 ++++++++++++ models/growth/nibilab_linear_delay.c | 16 ++++++++++++ models/growth/nibilab_linear_delay_mix.c | 16 ++++++++++++ models/growth/nibilab_linear_delta.c | 16 ++++++++++++ models/growth/nibilab_linear_random_times.c | 16 ++++++++++++ models/growth/nibilab_nonlinear.c | 16 ++++++++++++ models/growth/node_deg_over_time.py | 14 ++++++++++ models/nullmodels/model_MDM.py | 14 ++++++++++ models/nullmodels/model_MSM.py | 14 ++++++++++ models/nullmodels/model_hypergeometric.py | 14 ++++++++++ models/nullmodels/model_layer_growth.py | 14 ++++++++++ structure/activity/degs_to_activity_overlap.py | 14 ++++++++++ structure/activity/degs_to_binary.py | 14 ++++++++++ structure/activity/hamming_dist.py | 14 ++++++++++ structure/activity/layer_activity.py | 14 ++++++++++ structure/activity/layer_activity_vectors.py | 14 ++++++++++ structure/activity/multiplexity.py | 14 ++++++++++ structure/activity/node_activity.py | 14 ++++++++++ structure/activity/node_activity_vectors.py | 14 ++++++++++ structure/activity/node_degree_vectors.py | 14 ++++++++++ structure/correlations/compute_pearson.py | 14 ++++++++++ structure/correlations/compute_rho.py | 14 ++++++++++ structure/correlations/compute_tau.py | 14 ++++++++++ structure/correlations/dump_k_q.c | 16 ++++++++++++ structure/correlations/fit_knn.c | 16 ++++++++++++ structure/correlations/fit_utils.c | 16 ++++++++++++ structure/correlations/fit_utils.h | 16 ++++++++++++ structure/correlations/knn_q_from_degrees.py | 14 ++++++++++ structure/correlations/knn_q_from_layers.py | 14 ++++++++++ structure/correlations/rank_nodes.py | 14 ++++++++++ structure/correlations/rank_nodes_thresh.py | 14 ++++++++++ structure/correlations/rank_occurrence.py | 14 ++++++++++ structure/correlations/rank_utils.c | 16 ++++++++++++ structure/correlations/rank_utils.h | 16 ++++++++++++ structure/metrics/aggregate_layers_w.py | 14 ++++++++++ structure/metrics/avg_edge_overlap.py | 14 ++++++++++ structure/metrics/cartography_from_columns.py | 14 ++++++++++ structure/metrics/cartography_from_deg_vectors.py | 14 ++++++++++ structure/metrics/cartography_from_layers.py | 14 ++++++++++ structure/metrics/edge_overlap.py | 14 ++++++++++ structure/metrics/intersect_layers.py | 14 ++++++++++ structure/metrics/overlap_degree.py | 14 ++++++++++ structure/reinforcement/reinforcement.py | 14 ++++++++++ 61 files changed, 928 insertions(+) create mode 100644 INSTALL diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..aa895b4 --- /dev/null +++ b/INSTALL @@ -0,0 +1,32 @@ +==== MAMMULT: Metrics And Models for MULTilayer networks ==== + +Most of the programs included in this version of the MAMMULT +package are in Python, thus no installation at all is needed. +It is sufficient to copy the .py files in the desired directory +and use them. + +Python code requires the following packages to be installed in +your system: + + SciPy + Numpy + Networkx + +All the code should work with any recent version of those packages. + + +Makefiles are available for all C code in the corresponding +directories, namely: + + structure/correlations/ + models/correlations/ + models/growth/ + dynamics/ising/ + dynamics/randomwalks/ + +In order to compile C programs it is sufficient to move to the +corresponding directory and give the command: + + $ make + +which will compile all the executables. diff --git a/README.md b/README.md index ac647e1..01cd4bc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # mammult Metrics And Models for MULTilayer networks + +MAMMULT is a collection of programs for the analysis and modelling of +multi-layer networks. Most of the code included in this package was +developed during the EU FET project "LASAGNE". + +MAMMULT is Free Software, and can be used, copied, modified and +distributed under the terms of the GNU General Public Licence, version +3. A copy of the GNU General Public License is available in the file +COPYING. + + +(c) Vincenzo Nicosia 2012-2015 + Federico Battiston 2013-2015 + diff --git a/dynamics/ising/iltree.c b/dynamics/ising/iltree.c index 5a693d0..fa75df6 100755 --- a/dynamics/ising/iltree.c +++ b/dynamics/ising/iltree.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /* * * A simple insert-lookup static btree datatype diff --git a/dynamics/ising/multiplex_ising.c b/dynamics/ising/multiplex_ising.c index 8dbbf68..cf9e538 100644 --- a/dynamics/ising/multiplex_ising.c +++ b/dynamics/ising/multiplex_ising.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #include #include #include diff --git a/dynamics/ising/utils.c b/dynamics/ising/utils.c index 952fcd7..bce3092 100755 --- a/dynamics/ising/utils.c +++ b/dynamics/ising/utils.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #include "iltree.h" #include #include diff --git a/dynamics/randomwalks/entropyrate2add.c b/dynamics/randomwalks/entropyrate2add.c index fae4fc8..1153308 100755 --- a/dynamics/randomwalks/entropyrate2add.c +++ b/dynamics/randomwalks/entropyrate2add.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #include #include #include diff --git a/dynamics/randomwalks/entropyrate2int.c b/dynamics/randomwalks/entropyrate2int.c index 757c7b7..c836ed8 100755 --- a/dynamics/randomwalks/entropyrate2int.c +++ b/dynamics/randomwalks/entropyrate2int.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #include #include #include diff --git a/dynamics/randomwalks/entropyrate2mult.c b/dynamics/randomwalks/entropyrate2mult.c index cded4eb..ea6e435 100755 --- a/dynamics/randomwalks/entropyrate2mult.c +++ b/dynamics/randomwalks/entropyrate2mult.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #include #include #include diff --git a/dynamics/randomwalks/iltree.c b/dynamics/randomwalks/iltree.c index 5a693d0..fa75df6 100755 --- a/dynamics/randomwalks/iltree.c +++ b/dynamics/randomwalks/iltree.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /* * * A simple insert-lookup static btree datatype diff --git a/dynamics/randomwalks/iltree.h b/dynamics/randomwalks/iltree.h index 3e835e4..6050f03 100755 --- a/dynamics/randomwalks/iltree.h +++ b/dynamics/randomwalks/iltree.h @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #ifndef __ILTREE_H__ #define __ILTREE_H__ diff --git a/dynamics/randomwalks/statdistr2.c b/dynamics/randomwalks/statdistr2.c index 10528da..55bbb35 100755 --- a/dynamics/randomwalks/statdistr2.c +++ b/dynamics/randomwalks/statdistr2.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #include #include #include diff --git a/dynamics/randomwalks/utils.c b/dynamics/randomwalks/utils.c index 952fcd7..bce3092 100755 --- a/dynamics/randomwalks/utils.c +++ b/dynamics/randomwalks/utils.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #include "iltree.h" #include #include diff --git a/dynamics/randomwalks/utils.h b/dynamics/randomwalks/utils.h index c844248..c87e92e 100755 --- a/dynamics/randomwalks/utils.h +++ b/dynamics/randomwalks/utils.h @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #ifndef __UTILS_H__ #define __UTILS_H__ diff --git a/models/correlations/fit_utils.c b/models/correlations/fit_utils.c index e9e3954..6b7609d 100644 --- a/models/correlations/fit_utils.c +++ b/models/correlations/fit_utils.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Fit a given sequence with a power-law function diff --git a/models/correlations/fit_utils.h b/models/correlations/fit_utils.h index 183f47c..82287c7 100644 --- a/models/correlations/fit_utils.h +++ b/models/correlations/fit_utils.h @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #ifndef __FIT_UTILS_H__ #define __FIT_UTILS_H__ diff --git a/models/correlations/rank_utils.c b/models/correlations/rank_utils.c index 4b8ef41..b25f976 100644 --- a/models/correlations/rank_utils.c +++ b/models/correlations/rank_utils.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Some utility functions to be used with tune_rho, compute_rho and diff --git a/models/correlations/rank_utils.h b/models/correlations/rank_utils.h index 521582a..4b9296a 100644 --- a/models/correlations/rank_utils.h +++ b/models/correlations/rank_utils.h @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #ifndef __RANK_UTILS_H__ #define __RANK_UTILS_H__ diff --git a/models/correlations/tune_qnn_adaptive.c b/models/correlations/tune_qnn_adaptive.c index 71643a1..f645dbe 100644 --- a/models/correlations/tune_qnn_adaptive.c +++ b/models/correlations/tune_qnn_adaptive.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Tune the inter-layer degree correlation function \bar{q}(k) of a diff --git a/models/correlations/tune_rho.c b/models/correlations/tune_rho.c index 4495b0e..0e681c9 100644 --- a/models/correlations/tune_rho.c +++ b/models/correlations/tune_rho.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Tune the Spearman's \rho correlation coefficient between two rankings diff --git a/models/growth/nibilab_linear_delay.c b/models/growth/nibilab_linear_delay.c index 518b09d..55bf206 100644 --- a/models/growth/nibilab_linear_delay.c +++ b/models/growth/nibilab_linear_delay.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * NiBiLaB model (Nicosia, Bianconi, Latora, Barthelemy) of multiplex diff --git a/models/growth/nibilab_linear_delay_mix.c b/models/growth/nibilab_linear_delay_mix.c index e48d16b..0946344 100644 --- a/models/growth/nibilab_linear_delay_mix.c +++ b/models/growth/nibilab_linear_delay_mix.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * NiBiLaB model (Nicosia, Bianconi, Latora, Barthelemy) of multiplex diff --git a/models/growth/nibilab_linear_delta.c b/models/growth/nibilab_linear_delta.c index b1f7e90..cf8fc70 100644 --- a/models/growth/nibilab_linear_delta.c +++ b/models/growth/nibilab_linear_delta.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * NiBiLaB model (Nicosia, Bianconi, Latora, Barthelemy) of multiplex diff --git a/models/growth/nibilab_linear_random_times.c b/models/growth/nibilab_linear_random_times.c index 48929aa..c2504f6 100644 --- a/models/growth/nibilab_linear_random_times.c +++ b/models/growth/nibilab_linear_random_times.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * NiBiLaB model (Nicosia, Bianconi, Latora, Barthelemy) of multiplex diff --git a/models/growth/nibilab_nonlinear.c b/models/growth/nibilab_nonlinear.c index 3ad9ce8..1c8e818 100644 --- a/models/growth/nibilab_nonlinear.c +++ b/models/growth/nibilab_nonlinear.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * NiBiLaB model (Nicosia, Bianconi, Latora, Barthelemy) of multiplex diff --git a/models/growth/node_deg_over_time.py b/models/growth/node_deg_over_time.py index a71e86c..8b3a2f1 100644 --- a/models/growth/node_deg_over_time.py +++ b/models/growth/node_deg_over_time.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Get an edgelist, a file pof arrival times and a node ID and return diff --git a/models/nullmodels/model_MDM.py b/models/nullmodels/model_MDM.py index 5b0a969..26bd392 100644 --- a/models/nullmodels/model_MDM.py +++ b/models/nullmodels/model_MDM.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## diff --git a/models/nullmodels/model_MSM.py b/models/nullmodels/model_MSM.py index 2c30df5..528cd48 100644 --- a/models/nullmodels/model_MSM.py +++ b/models/nullmodels/model_MSM.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## diff --git a/models/nullmodels/model_hypergeometric.py b/models/nullmodels/model_hypergeometric.py index 0a36237..bcc3024 100644 --- a/models/nullmodels/model_hypergeometric.py +++ b/models/nullmodels/model_hypergeometric.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## This is the hypergeometric model. Each layer has the same number of diff --git a/models/nullmodels/model_layer_growth.py b/models/nullmodels/model_layer_growth.py index 46b4c0f..024812b 100644 --- a/models/nullmodels/model_layer_growth.py +++ b/models/nullmodels/model_layer_growth.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## layer-by-layer multiplex growth diff --git a/structure/activity/degs_to_activity_overlap.py b/structure/activity/degs_to_activity_overlap.py index c96959b..7750ed6 100644 --- a/structure/activity/degs_to_activity_overlap.py +++ b/structure/activity/degs_to_activity_overlap.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take a file which contains, on the n-th line, the degrees at each diff --git a/structure/activity/degs_to_binary.py b/structure/activity/degs_to_binary.py index cb7aef5..6c299d1 100644 --- a/structure/activity/degs_to_binary.py +++ b/structure/activity/degs_to_binary.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take a file which contains, on the n-th line, the degrees at each diff --git a/structure/activity/hamming_dist.py b/structure/activity/hamming_dist.py index 2a98e64..a18f732 100644 --- a/structure/activity/hamming_dist.py +++ b/structure/activity/hamming_dist.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input the layers of a multiplex, and provide as output a diff --git a/structure/activity/layer_activity.py b/structure/activity/layer_activity.py index bea0416..b0c0570 100644 --- a/structure/activity/layer_activity.py +++ b/structure/activity/layer_activity.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input the layers of a multiplex, and provide as output a diff --git a/structure/activity/layer_activity_vectors.py b/structure/activity/layer_activity_vectors.py index f32418d..f3f756d 100644 --- a/structure/activity/layer_activity_vectors.py +++ b/structure/activity/layer_activity_vectors.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input the layers of a multiplex, and provide as output a diff --git a/structure/activity/multiplexity.py b/structure/activity/multiplexity.py index 9e038c9..583fe37 100644 --- a/structure/activity/multiplexity.py +++ b/structure/activity/multiplexity.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input the layers of a multiplex, and provide as output a diff --git a/structure/activity/node_activity.py b/structure/activity/node_activity.py index 6410a68..86da033 100644 --- a/structure/activity/node_activity.py +++ b/structure/activity/node_activity.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input the layers of a multiplex, and provide as output a diff --git a/structure/activity/node_activity_vectors.py b/structure/activity/node_activity_vectors.py index 9839334..7131247 100644 --- a/structure/activity/node_activity_vectors.py +++ b/structure/activity/node_activity_vectors.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input the layers of a multiplex, and provide as output a diff --git a/structure/activity/node_degree_vectors.py b/structure/activity/node_degree_vectors.py index 8863daa..0818103 100644 --- a/structure/activity/node_degree_vectors.py +++ b/structure/activity/node_degree_vectors.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input the layers of a multiplex, and provide as output a diff --git a/structure/correlations/compute_pearson.py b/structure/correlations/compute_pearson.py index e2c9055..e83466d 100644 --- a/structure/correlations/compute_pearson.py +++ b/structure/correlations/compute_pearson.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Compute the pearson correlation coefficient between the values of diff --git a/structure/correlations/compute_rho.py b/structure/correlations/compute_rho.py index 8fa4174..59337db 100644 --- a/structure/correlations/compute_rho.py +++ b/structure/correlations/compute_rho.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Get two rankings and a pairing, and compute the corresponding diff --git a/structure/correlations/compute_tau.py b/structure/correlations/compute_tau.py index 3d1f804..c4e47b1 100644 --- a/structure/correlations/compute_tau.py +++ b/structure/correlations/compute_tau.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input two files, whose n^th line contains the ranking of diff --git a/structure/correlations/dump_k_q.c b/structure/correlations/dump_k_q.c index 2b6ba79..4ac189f 100644 --- a/structure/correlations/dump_k_q.c +++ b/structure/correlations/dump_k_q.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Get the degree distributions of two layers and a pairing, and dump diff --git a/structure/correlations/fit_knn.c b/structure/correlations/fit_knn.c index 64fc4c3..67d3b9a 100644 --- a/structure/correlations/fit_knn.c +++ b/structure/correlations/fit_knn.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Take a file which contains pairs in the form: diff --git a/structure/correlations/fit_utils.c b/structure/correlations/fit_utils.c index e9e3954..6b7609d 100644 --- a/structure/correlations/fit_utils.c +++ b/structure/correlations/fit_utils.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Fit a given sequence with a power-law function diff --git a/structure/correlations/fit_utils.h b/structure/correlations/fit_utils.h index 183f47c..82287c7 100644 --- a/structure/correlations/fit_utils.h +++ b/structure/correlations/fit_utils.h @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #ifndef __FIT_UTILS_H__ #define __FIT_UTILS_H__ diff --git a/structure/correlations/knn_q_from_degrees.py b/structure/correlations/knn_q_from_degrees.py index 5e10bfa..bd81dcd 100644 --- a/structure/correlations/knn_q_from_degrees.py +++ b/structure/correlations/knn_q_from_degrees.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## diff --git a/structure/correlations/knn_q_from_layers.py b/structure/correlations/knn_q_from_layers.py index c108c18..ce55086 100644 --- a/structure/correlations/knn_q_from_layers.py +++ b/structure/correlations/knn_q_from_layers.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## diff --git a/structure/correlations/rank_nodes.py b/structure/correlations/rank_nodes.py index 6985e88..dda5d82 100644 --- a/structure/correlations/rank_nodes.py +++ b/structure/correlations/rank_nodes.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## diff --git a/structure/correlations/rank_nodes_thresh.py b/structure/correlations/rank_nodes_thresh.py index 44b565a..58d28a5 100644 --- a/structure/correlations/rank_nodes_thresh.py +++ b/structure/correlations/rank_nodes_thresh.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## diff --git a/structure/correlations/rank_occurrence.py b/structure/correlations/rank_occurrence.py index 6339d5d..7c707e0 100644 --- a/structure/correlations/rank_occurrence.py +++ b/structure/correlations/rank_occurrence.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Get two rankings and compute the size of the k-intersection, diff --git a/structure/correlations/rank_utils.c b/structure/correlations/rank_utils.c index 4b8ef41..b25f976 100644 --- a/structure/correlations/rank_utils.c +++ b/structure/correlations/rank_utils.c @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ /** * * Some utility functions to be used with tune_rho, compute_rho and diff --git a/structure/correlations/rank_utils.h b/structure/correlations/rank_utils.h index 521582a..4b9296a 100644 --- a/structure/correlations/rank_utils.h +++ b/structure/correlations/rank_utils.h @@ -1,3 +1,19 @@ +/* + * This file is part of MAMMULT: Metrics And Models for Multilayer Networks + * + * 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 + * along with this program. If not, see . +*/ #ifndef __RANK_UTILS_H__ #define __RANK_UTILS_H__ diff --git a/structure/metrics/aggregate_layers_w.py b/structure/metrics/aggregate_layers_w.py index cd5ea1d..a820ba0 100644 --- a/structure/metrics/aggregate_layers_w.py +++ b/structure/metrics/aggregate_layers_w.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Aggregate the layers of a multiplex, weigthing each edge according diff --git a/structure/metrics/avg_edge_overlap.py b/structure/metrics/avg_edge_overlap.py index e68fd8b..7f7eb5b 100644 --- a/structure/metrics/avg_edge_overlap.py +++ b/structure/metrics/avg_edge_overlap.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Compute the average edge overlap of a multiplex, i.e. the average diff --git a/structure/metrics/cartography_from_columns.py b/structure/metrics/cartography_from_columns.py index a2343ed..b41e491 100644 --- a/structure/metrics/cartography_from_columns.py +++ b/structure/metrics/cartography_from_columns.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Make a cartography (i.e., sum and participation coefficient) based diff --git a/structure/metrics/cartography_from_deg_vectors.py b/structure/metrics/cartography_from_deg_vectors.py index c40d701..b55632b 100644 --- a/structure/metrics/cartography_from_deg_vectors.py +++ b/structure/metrics/cartography_from_deg_vectors.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take as input a file containing, on each line, the degree vector of diff --git a/structure/metrics/cartography_from_layers.py b/structure/metrics/cartography_from_layers.py index b9c4584..5ec5449 100644 --- a/structure/metrics/cartography_from_layers.py +++ b/structure/metrics/cartography_from_layers.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Compute the participation coefficient of each node of a multiplex diff --git a/structure/metrics/edge_overlap.py b/structure/metrics/edge_overlap.py index 1b27f55..4c3a676 100644 --- a/structure/metrics/edge_overlap.py +++ b/structure/metrics/edge_overlap.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Compute the edge overlap of each edge of the multiplex, i.e. the diff --git a/structure/metrics/intersect_layers.py b/structure/metrics/intersect_layers.py index a9da00c..c339e21 100644 --- a/structure/metrics/intersect_layers.py +++ b/structure/metrics/intersect_layers.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Take a certain number of networks as input and give as output the diff --git a/structure/metrics/overlap_degree.py b/structure/metrics/overlap_degree.py index fa69434..1f8a194 100644 --- a/structure/metrics/overlap_degree.py +++ b/structure/metrics/overlap_degree.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . #### ## ## Compute the overlapping degree for each node and the corresponding diff --git a/structure/reinforcement/reinforcement.py b/structure/reinforcement/reinforcement.py index 5939e59..d874c6e 100644 --- a/structure/reinforcement/reinforcement.py +++ b/structure/reinforcement/reinforcement.py @@ -1,3 +1,17 @@ +# This file is part of MAMMULT: Metrics And Models for Multilayer Networks +# +# 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 +# along with this program. If not, see . import networkx as nx import sys -- cgit v1.2.3