Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{algorithm}
  3. usepackage{algpseudocode}
  4.  
  5. begin{document}
  6.  
  7. begin{algorithm}
  8. caption{Test Algo}label{Test Algo}
  9. begin{algorithmic}[1]
  10. Procedure{Test Algo}{inputs} %line1
  11. State $n gets$ textsc{BestApproach}(Inputs) label{algo1:bestmetric} %line2
  12. For{$f in $ inputs} %line3
  13. State x gets 1 %line4
  14. EndFor %line5
  15. EndProcedure %line6
  16. end{algorithmic}
  17. end{algorithm}
  18.  
  19. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement