SHARE
TWEET

Untitled

a guest Jul 18th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. usepackage[utf8]{inputenc}
  2. usepackage{algorithm}
  3. usepackage{algpseudocode}
  4. algnewcommandalgorithmicgenerate{textbf{GENERATE}}
  5. algnewcommandGENERATE[1]{Statealgorithmicgenerate #1}
  6. algnewcommandalgorithmicset{textbf{SET}}
  7. algnewcommandSET[1]{Statealgorithmicset #1}
  8. algloop{FOR}
  9.  
  10. begin{document}
  11.  
  12. begin{algorithm}[H]
  13.  
  14. begin{algorithmic}[1]
  15.  GENERATE{$S_t^{(i)} qquad ,i=1,...,I,t=1,...,M$}
  16.  SET{$C_t^0(S_t^{(i)})=0 qquad
  17.  ,i=1,...,I,t=1,...,M$}
  18.  SET{$C_{M+1}^n(S_{M+1}^{(i)})=0 qquad ,i=1,...,I,n=0,1,...,N$}
  19.  SET{$hat{Phi}_t^{(n)}(S_t^{(i)})=0 qquad, i=1,...,I,t=1,...,M,n=0,1,...,N$}
  20.  FOR{$quad t=M,...,1$}
  21.   SET{$iota_t^{(i)} = argmax_{a_t^{(i)}in A}{P(S_t^{(i)};a_t^{(i)})} qquad ,i=1,...,I$}
  22.   FOR{$, n=max(1,N-t),...,N$}
  23.  
  24. end{algorithmic}
  25. end{algorithm}
  26. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top