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 --- 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 ++++++++++++++ 32 files changed, 460 insertions(+) (limited to 'structure') 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