Inspecting some States (1) Initialize the starting and goal states (2) Initialize all values to zeroes (3) Select a random action If values of all possible actions at current state are zeroes (4) Select the action with the highest value If it is the Max value (5) Compute and update value of the selected action (6) Get new state among possible states (7) If new state = goal state then go to Steps 5 and 9 (8) Repeat Steps 3 to 6 until Step 7 (9) Shutdown
Inspecting all States (1) Initialize the starting and goal states (2) Initialize all values to zeroes (3) Select a random action If values of all possible actions at current state are zeroes (4) Select the action with the highest value If it is the Max value (5) Compute and update value of the selected action (6) Get new state among possible states (7) If new state = goal state then go to Steps 5 and 10 (8) Repeat Steps 3 to 7 until Step 9 (9) All states except the goal state has taken Action = Inspect (10) Shutdown