Open
Description
Rename the argument s in the following three lines of pseudocode:
…
return arg max a ∈ ACTIONS(s) MIN-VALUE(RESULT(state, a))
…
v ← MAX(v, MIN-VALUE(RESULT(s, a)))
…
v ← MIN(v, MAX-VALUE(RESULT(s, a)))
…
to state:
…
return arg max a ∈ ACTIONS(state) MIN-VALUE(RESULT(state, a))
…
v ← MAX(v, MIN-VALUE(RESULT(state, a)))
…
v ← MIN(v, MAX-VALUE(RESULT(state, a)))
…
due to state being the name of the argument passed to the relevant functions.
Metadata
Metadata
Assignees
Labels
No labels