Skip to content

Commit

Permalink
update '' ``
Browse files Browse the repository at this point in the history
  • Loading branch information
walkeronwater committed Jan 15, 2021
1 parent a967c0f commit d22e697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 08_voting/index.tex
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ \section{Implementation}
Once it receives all the ballots, the server counts the votes and selects a winner according to the voting-method parameter (see Algorithm~\ref{algo:Plurality}, \ref{algo:Borda}, \ref{algo:Runoff}, \ref{algo:InstantRunoff} and \ref{algo:Approval}). The recommended\footnote{The declaration of winner is subject to the islands' strategies where the initiator of voting may or may not abuse the power to declare a winner without following the voting method that is chosen.} winner is available for the initiator of voting.

\begin{algorithm}[!h]
\KwData{IslandID, ballots("Aye", "Nay" or "Abstain")}
\KwData{IslandID, ballots(``Aye'', ``Nay'' or ``Abstain'')}
\KwResult{the winner}
$Aye \gets 0$\;
$Nye \gets 0$\;
Expand Down Expand Up @@ -216,4 +216,4 @@ \section{Implementation}
sort candidates by scores\;
\Return the candidate with the highest score\;
\caption{Approval (available for elections votes)}\label{algo:Approval}
\end{algorithm}
\end{algorithm}

0 comments on commit d22e697

Please sign in to comment.