diff --git a/doc/report/algos.tex b/doc/report/algos.tex index 6d5b312efbb15d9cc85f3f9b52d501d4098e67e8..9b03d7931cfd775c66f7e3cb44c5fb9d38d83b94 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} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%