summaryrefslogtreecommitdiff
path: root/structure/correlations
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 /structure/correlations
parenta86962cbfd0321387c920a04188512d0de2f3036 (diff)
- Added header with LICENSE statement to all the source files
- Added INSTALL file - Amended the README file
Diffstat (limited to 'structure/correlations')
-rw-r--r--structure/correlations/compute_pearson.py14
-rw-r--r--structure/correlations/compute_rho.py14
-rw-r--r--structure/correlations/compute_tau.py14
-rw-r--r--structure/correlations/dump_k_q.c16
-rw-r--r--structure/correlations/fit_knn.c16
-rw-r--r--structure/correlations/fit_utils.c16
-rw-r--r--structure/correlations/fit_utils.h16
-rw-r--r--structure/correlations/knn_q_from_degrees.py14
-rw-r--r--structure/correlations/knn_q_from_layers.py14
-rw-r--r--structure/correlations/rank_nodes.py14
-rw-r--r--structure/correlations/rank_nodes_thresh.py14
-rw-r--r--structure/correlations/rank_occurrence.py14
-rw-r--r--structure/correlations/rank_utils.c16
-rw-r--r--structure/correlations/rank_utils.h16
14 files changed, 208 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
####
##
## 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 <http://www.gnu.org/licenses/>.
####
##
## 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 <http://www.gnu.org/licenses/>.
####
##
## 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
#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 <http://www.gnu.org/licenses/>.
####
##
##
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 <http://www.gnu.org/licenses/>.
####
##
##
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 <http://www.gnu.org/licenses/>.
####
##
##
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 <http://www.gnu.org/licenses/>.
####
##
##
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 <http://www.gnu.org/licenses/>.
####
##
## 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 <http://www.gnu.org/licenses/>.
+*/
/**
*
* 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 <http://www.gnu.org/licenses/>.
+*/
#ifndef __RANK_UTILS_H__
#define __RANK_UTILS_H__