Advertisement
Guest User

ANNOYING ZERO

a guest
Dec 1st, 2013
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. \begin{algorithm} % enter the algorithm environment
  2. \caption{procedure DOWNLOAD} % give the algorithm a caption
  3. \label{SaS:DOWNLOAD}
  4. \STATE {\bf procedure} user\_request($follower\_id$, $friend\_id, content\_id, home\_server, friend\_surrogate$)
  5. \begin{algorithmic}[1] % enter the algorithmic environment
  6. \REQUIRE USER ID,home\_servere
  7. \ENSURE URL of requested content
  8. \STATE content$\leftarrow$request\_redirect(content\_id)
  9. \IF{content$!=$server}
  10. \STATE schedule\_pull(content\_id,server)
  11. \ENDIF
  12. \STATE {{\bf return} $content\_host$}
  13. \STATE {{\bf end procedure}
  14. \end{algorithmic}
  15. \end{algorithm}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement