Browse files

gridworld module is added to illuminate the Bellman functions

  • Loading branch information...
1 parent 177a92b commit 22facef5afa25f83c95d9c7847c49d1ba4883605 @barcoyou committed Dec 14, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 README
@@ -26,3 +26,12 @@ erl -pa ebin
>softmax_bandit:run(10, 2000, 2, "softmax_2.dat").
%This will simulate the agent which uses softmax to solve the n-Armed Bandit problem
+moduel gridworld.erl is an example in the chapter 3 of the book, illuminating the
+Bellman equations for state-value function and optimal state-value function.
+To use it:
+>gridworld:run(). %To get the state-values
+>gridworld:run_optimal() % To get the optimal state-values

0 comments on commit 22facef

Please sign in to comment.