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 --- 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 ++++++++++++++ 16 files changed, 246 insertions(+) (limited to 'models') 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 -- cgit v1.2.3