From a86962cbfd0321387c920a04188512d0de2f3036 Mon Sep 17 00:00:00 2001
From: KatolaZ <katolaz@yahoo.it>
Date: Mon, 19 Oct 2015 16:30:12 +0100
Subject: First commit of MAMMULT documentation

---
 .../latex/structure/reinforcement/reinforcement.tex | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 doc/latex/latex/structure/reinforcement/reinforcement.tex

(limited to 'doc/latex/latex/structure/reinforcement/reinforcement.tex')

diff --git a/doc/latex/latex/structure/reinforcement/reinforcement.tex b/doc/latex/latex/structure/reinforcement/reinforcement.tex
new file mode 100644
index 0000000..a65b05e
--- /dev/null
+++ b/doc/latex/latex/structure/reinforcement/reinforcement.tex
@@ -0,0 +1,21 @@
+%%%
+%%% Layer activity
+%%%
+
+\myprogram{{reinforcement.py}}
+          {compute the probability to have a link between two nodes in layer $1$ given their weight in layer $2$.}
+          {$<$layer1$>$ $<$layer2$>$ $<N_{bins}>$ $<min_{value}>$ $<max_{value}>$}
+
+\mydescription{Compute and print on output the probability to have a link between two nodes in layer $1$ given their weight in layer $2$. 
+As input are given the files \textit{layer1}, \textit{layer2}, the number of bins for the link weights of the second layer, the minimum and the maximum values of the binning.
+  
+  The first file contains the binary edge list of layer $1$, the second file contains the weighted edge list of layer $2$. each
+  line is in the format:
+  
+  \hspace{0.5cm}\textit{bin\_min} \textit{bin\_max} \textit{freq}
+  
+  where \textit{bin\_min} and \textit{bin\_max} are the minimum and maximum values of the link weights of layer $2$ in that binning, and  \textit{freq} is the probability to have a link on layer $1$ given such weight in layer $2$.}
+
+\myreturn{A list of lines, where the n-th line is the minimum and maximum values of the weight of the links in layer $2$ in the n-th bin, and the frequency to have a link on layer $2$ given that weight.}
+
+\myreference{\refmetrics}
-- 
cgit v1.2.3

