summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorKatolaZ <katolaz@yahoo.it>2015-10-19 16:56:08 +0100
committerKatolaZ <katolaz@yahoo.it>2015-10-19 16:56:08 +0100
commitdf851f00ace4329f031af3215a531652c686b7f5 (patch)
treeedf33069dab78da4f6ea19a39588ec614d13f16b /models
parenta86962cbfd0321387c920a04188512d0de2f3036 (diff)
- Added header with LICENSE statement to all the source files
- Added INSTALL file - Amended the README file
Diffstat (limited to 'models')
-rw-r--r--models/correlations/fit_utils.c16
-rw-r--r--models/correlations/fit_utils.h16
-rw-r--r--models/correlations/rank_utils.c16
-rw-r--r--models/correlations/rank_utils.h16
-rw-r--r--models/correlations/tune_qnn_adaptive.c16
-rw-r--r--models/correlations/tune_rho.c16
-rw-r--r--models/growth/nibilab_linear_delay.c16
-rw-r--r--models/growth/nibilab_linear_delay_mix.c16
-rw-r--r--models/growth/nibilab_linear_delta.c16
-rw-r--r--models/growth/nibilab_linear_random_times.c16
-rw-r--r--models/growth/nibilab_nonlinear.c16
-rw-r--r--models/growth/node_deg_over_time.py14
-rw-r--r--models/nullmodels/model_MDM.py14
-rw-r--r--models/nullmodels/model_MSM.py14
-rw-r--r--models/nullmodels/model_hypergeometric.py14
-rw-r--r--models/nullmodels/model_layer_growth.py14
16 files changed, 246 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
#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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
#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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
####
##
## 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 <http://www.gnu.org/licenses/>.
####
##
##
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 <http://www.gnu.org/licenses/>.
####
##
##
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 <http://www.gnu.org/licenses/>.
####
##
## 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 <http://www.gnu.org/licenses/>.
####
##
## layer-by-layer multiplex growth