reformatage
This commit is contained in:
@@ -34,18 +34,26 @@
|
|||||||
DenyList as follows.
|
DenyList as follows.
|
||||||
|
|
||||||
\begin{algorithmic}
|
\begin{algorithmic}
|
||||||
|
\begin{algorithm}[H]
|
||||||
|
\caption{Group Election implementation using DenyList}
|
||||||
|
|
||||||
\Function{CANDIDATE}{$r$}
|
\Function{CANDIDATE}{$r$}
|
||||||
\State $\PROVE(r)$
|
\State $\PROVE(r)$
|
||||||
\EndFunction
|
\EndFunction
|
||||||
|
|
||||||
\vspace{1em}
|
\vspace{1em}
|
||||||
|
|
||||||
\Function{CLOSE}{$r$}
|
\Function{CLOSE}{$r$}
|
||||||
\State $\APPEND(r)$
|
\State $\APPEND(r)$
|
||||||
\EndFunction
|
\EndFunction
|
||||||
|
|
||||||
\vspace{1em}
|
\vspace{1em}
|
||||||
|
|
||||||
\Function{READGE}{$r$}
|
\Function{READGE}{$r$}
|
||||||
\State $P \gets \READ()$
|
\State $P \gets \READ()$
|
||||||
\State \Return $\{ j : (j,\PROVEtrace(r)) \in P \}$
|
\State \Return $\{ j : (j,\PROVEtrace(r)) \in P \}$
|
||||||
\EndFunction
|
\EndFunction
|
||||||
|
\end{algorithm}
|
||||||
\end{algorithmic}
|
\end{algorithmic}
|
||||||
|
|
||||||
\paragraph{Termination.} Termination follows from the Termination property of DenyList operations. Consider now a fixed sequential history $\mathsf{Seq}$ of the DenyList.
|
\paragraph{Termination.} Termination follows from the Termination property of DenyList operations. Consider now a fixed sequential history $\mathsf{Seq}$ of the DenyList.
|
||||||
@@ -71,7 +79,9 @@
|
|||||||
|
|
||||||
The operations are implemented as follows.
|
The operations are implemented as follows.
|
||||||
|
|
||||||
|
\begin{algorithm}[H]
|
||||||
\begin{algorithmic}
|
\begin{algorithmic}
|
||||||
|
\caption{Group Election implementation using DenyList}
|
||||||
\Function{APPEND}{$r$}
|
\Function{APPEND}{$r$}
|
||||||
\State $\CLOSE(r)$
|
\State $\CLOSE(r)$
|
||||||
\EndFunction
|
\EndFunction
|
||||||
@@ -91,6 +101,7 @@
|
|||||||
\State \Return $\{(p,r) \mid p \in W_r\}$
|
\State \Return $\{(p,r) \mid p \in W_r\}$
|
||||||
\EndFunction
|
\EndFunction
|
||||||
\end{algorithmic}
|
\end{algorithmic}
|
||||||
|
\end{algorithm}
|
||||||
|
|
||||||
\paragraph{Termination.} Termination follows from the Termination property of Group Election operations. Consider now a fixed sequential history $\mathsf{Seq}$ of the Group Election.
|
\paragraph{Termination.} Termination follows from the Termination property of Group Election operations. Consider now a fixed sequential history $\mathsf{Seq}$ of the Group Election.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user