mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Improve pseudocode
This commit is contained in:
parent
dd9390388d
commit
ddd08a2a45
10 changed files with 11 additions and 10 deletions
|
@ -22,7 +22,7 @@
|
|||
\Statex Sates $\mathcal{X} = \{1, \dots, n_x\}$
|
||||
\Statex Actions $\mathcal{A} = \{1, \dots, n_a\},\qquad A: \mathcal{X} \Rightarrow \mathcal{A}$
|
||||
\Statex Cost function $g: \mathcal{X} \times \mathcal{A} \rightarrow \mathbb{R}$
|
||||
\Statex Transition probabilities $f$
|
||||
\Statex Transition probabilities $f_{xy}(a) = \mathbb{P}(y | x, a)$
|
||||
\Statex Discounting factor $\alpha \in (0, 1)$, typically $\alpha = 0.9$
|
||||
\Procedure{ValueIteration}{$\mathcal{X}$, $A$, $g$, $f$, $\alpha$}
|
||||
\State Initialize $J, J': \mathcal{X} \rightarrow \mathbb{R}_0^+$ arbitrarily
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue