Skip to content
Snippets Groups Projects
Commit f02d2299 authored by Erick Lavoie's avatar Erick Lavoie
Browse files

Fixed typos in Alg. 2

parent 4d75623a
No related branches found
No related tags found
No related merge requests found
......@@ -355,7 +355,7 @@ using the corresponding input functions.
In this section, we provide figures analogous to those of the main text for reference.
We provide comments only if the results deviate substantially.
\todo{EL: Provide links in each caption to the equivalent figure in the main text.}
%\todo{EL: Provide links in each caption to the equivalent figure in the main text.}
% From directory 'results-v2':
% MNIST
......
......@@ -139,16 +139,16 @@ decentralized averaging in a pre-processing step (e.g.~\cite{jelasity2005largego
\STATE $s' \leftarrow \textit{skew}(C_1\setminus\{i\}\cup\{j\})
+ \textit{skew}(C_2 \setminus\{i\}\cup\{j\})$\hspace*{-.05cm}
\IF {$s' < s$}
\STATE \textit{swaps}.append($(n_1, n_2)$)
\STATE \textit{swaps}.append($(i, j)$)
\ENDIF
\ENDFOR
\IF {len(\textit{swaps}) $> 0$}
\STATE $(n_1,n_2) \leftarrow$ random element from $
\STATE $(i,j) \leftarrow$ random element from $
\textit{swaps}$
\STATE $C_1 \leftarrow C_1 \setminus\{j\}\cup\{i\}; C_2 \leftarrow C_2 \setminus\{j\}\cup\{i\}$
\STATE $C_1 \leftarrow C_1 \setminus\{i\}\cup\{j\}; C_2 \leftarrow C_2 \setminus\{j\}\cup\{i\}$
\ENDIF
\ENDFOR
\STATE $E\leftarrow \{(i,j) : C\in DC, i,j\in C, i\neq j\}$
\STATE $E\leftarrow \{(i',j') : C\in DC, i',j'\in C, i'\neq j'\}$
% \STATE $G \leftarrow$ graph composed of the cliques in $DC$
\RETURN topology $G=(\{1,\dots,n\},E \cup
\texttt{inter}(DC))$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment