From: Mart Lubbers Date: Thu, 29 Jun 2017 12:34:51 +0000 (+0200) Subject: fix algorithm naming variables X-Git-Tag: hand-in~36^2 X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=0ad6a07479d9cce2d67c2e7aee35972836f48222;p=msc-thesis1617.git fix algorithm naming variables --- diff --git a/results.arch.tex b/results.arch.tex index 0164945..3520212 100644 --- a/results.arch.tex +++ b/results.arch.tex @@ -84,7 +84,7 @@ device. \begin{algorithm} \KwData{ \textbf{list} $tasks$, - \textbf{time} $t$ + \textbf{time} $tm$ } \Begin{ @@ -93,12 +93,12 @@ device. receive\_data()\; } - $t\leftarrow \text{now}()$\; + $tm\leftarrow \text{now}()$\; \ForEach{$t\leftarrow tasks$}{ \uIf{is\_interrupt$(t)$ \textbf{and} had\_interrupt$(t)$}{ run\_task$(t)$\; } - \ElseIf{$t-t.\text{lastrun} > t.\text{interval}$}{ + \ElseIf{$tm-t.\text{lastrun} > t.\text{interval}$}{ run\_task$(t)$\; \uIf{$t.\text{interval}==0$}{ delete\_task$(t)$\;