pseudocode.tex korrigiert

This commit is contained in:
tpajenka 2013-11-24 20:11:32 +01:00
parent 826297e4c0
commit 271590067c
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -62,8 +62,8 @@
\begin{algorithmic}[1] \begin{algorithmic}[1]
\Function{preprocessGraph}{$M$, $A$, $\omega$, $\delta$} \Function{preprocessGraph}{$M$, $A$, $\omega$, $\delta$}
\State $G \gets \emptyset$ \State $G \gets \emptyset$
\ForAll {rows $i$ of adjascency matrix $M$} \ForAll {rows $i$ of adjacency matrix $M$}
\ForAll {columns $j$ of adjascency matrix $M$} \ForAll {columns $j$ of adjacency matrix $M$}
\If {$M_{ij} = 1$} \If {$M_{ij} = 1$}
\If {\Call{testHomogenity}{$A$, $\omega$, $\delta$, $\lbrace i , j\rbrace$}} \If {\Call{testHomogenity}{$A$, $\omega$, $\delta$, $\lbrace i , j\rbrace$}}
\State $G \gets G \cup \lbrace \lbrace i, j\rbrace \rbrace$ \State $G \gets G \cup \lbrace \lbrace i, j\rbrace \rbrace$
@ -96,6 +96,7 @@
\EndIf \EndIf
\EndFor \EndFor
\EndWhile \EndWhile
\State \Return $F$
\EndFunction \EndFunction
\end{algorithmic} \end{algorithmic}
\end{algorithm*} \end{algorithm*}