Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested modification to Minimax-Decision (aima3e Figure 5.3) #27

Open
ctjoreilly opened this issue Jul 7, 2016 · 0 comments
Open

Comments

@ctjoreilly
Copy link
Collaborator

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.

norvig added a commit that referenced this issue Mar 3, 2017
Modification in alpha-beta search , bfs,online dfs and mini max search #26  #27 #28 #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant