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/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 ++++++++++++++++ 14 files changed, 208 insertions(+) (limited to 'structure/correlations') 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__ -- cgit v1.2.3