Skip to content

Commit 604dbb1

Browse files
committed
Add lib.py to report
1 parent 852a673 commit 604dbb1

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

lib/lib.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def csv2dict(filename, delimiter=";"):
194194
def F(k,gamma):
195195
"""
196196
Equation that give the theoretical approximation of the fraction loops thata
197-
are feddback loops
197+
are feedback loops
198198
k= loop length
199199
gamma= parameter
200200
@@ -228,12 +228,10 @@ def cyclic_eulerian_novec(l, k):
228228
cyclic_eulerian = np.vectorize(cyclic_eulerian_novec)
229229

230230
def F_exact_novec(k, gamma):
231-
"""Calculate exact value of the fraction of feedback loops.
231+
"""Calculate the exact value of the fraction of feedback loops.
232232
233233
Note: this function is not vectorized.
234234
235-
The model described in the article is used.
236-
237235
"""
238236
suma = 0
239237
for l in range(int(k) + 1):

trabajo/redes.pdf

158 KB
Binary file not shown.

trabajo/redes.tex

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,18 @@ \section*{Referencias}
318318

319319
\begin{appendices}
320320

321-
\section{Workflow de conversión y resultados}
322-
\lstinputlisting[language=Python]{../workflow.py}
321+
\section{Workflow de conversión y resultados}
322+
\lstinputlisting[language=Python]{../workflow.py}
323323
\pagebreak
324+
324325
\section{Obtención de datos en twitter}
325326
\lstinputlisting[language=Python]{../follow.py}
326-
\end{appendices}
327+
\pagebreak
327328

329+
\section{Biblioteca con las funciones implementadasa}
330+
\lstinputlisting[language=Python]{../lib/lib.py}
331+
332+
\end{appendices}
328333

329334

330335
\end{document}

0 commit comments

Comments
 (0)