Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{article}
- usepackage{algorithm}
- usepackage{algpseudocode}
- begin{document}
- begin{algorithm}
- caption{Test Algo}label{Test Algo}
- begin{algorithmic}[1]
- Procedure{Test Algo}{inputs} %line1
- State $n gets$ textsc{BestApproach}(Inputs) label{algo1:bestmetric} %line2
- For{$f in $ inputs} %line3
- State x gets 1 %line4
- EndFor %line5
- EndProcedure %line6
- end{algorithmic}
- end{algorithm}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement