From d56b2e38d14a3459d9642834839fc9d20f991ea8 Mon Sep 17 00:00:00 2001
From: Alex <alexandravigneron1@gmail.com>
Date: Fri, 3 Jul 2020 14:15:42 +0200
Subject: [PATCH] updates on algorithms

---
 doc/report/algos.tex | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/report/algos.tex b/doc/report/algos.tex
index 6d5b312..9b03d79 100644
--- a/doc/report/algos.tex
+++ b/doc/report/algos.tex
@@ -21,6 +21,7 @@ We define $N(a_i)$ the set of neighbouring agents for $a_i$:
 
       
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+From an agent's perspective, the MGM algorithm is performed as follows:
 \begin{algorithm}
 \DontPrintSemicolon
 
@@ -54,6 +55,7 @@ supervisor ! informValue(self.val)
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+While from a system-centered perpsective, it goes as such:
 \begin{algorithm}
 \DontPrintSemicolon
 
@@ -92,7 +94,7 @@ a boolean b set to true if the goal is miniMax, false if maxiMin}
             (bestVal, best-$\delta$)  $\mapsfrom max($results) \CommentSty{//max over $\delta$ and corresponding v}
             }
         \KwReturn{(bestVal, best-$\delta$)}
-        \caption{Evaluate}
+        \caption{evaluate(currentLocalContext, currentValue, domainX, b)}
                 \label{algo:MGM-evaluate}
         \end{algorithm}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -115,7 +117,7 @@ a boolean b set to true if the goal is miniMax, false if maxiMin}
             advice $\mapsfrom$ false
         }
         \KwReturn{advice}
-        \caption{Decide}
+        \caption{decide(currentOffer, bestDelta, b)}
         \label{algo:MGM-decide}
         \end{algorithm}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-- 
GitLab