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

Variable player initialized but not used in mini-max and alpha-beta in aima4e-algorithms.pdf #96

Open
cgosorio opened this issue Oct 27, 2019 · 0 comments

Comments

@cgosorio
Copy link

cgosorio commented Oct 27, 2019

In the pdf document for the pseudocodes for 4th edition, in the description for Minimax and Alpha-Beta, the variable player is initialized but not used. I think this is a bug, unless the intention is that this variable be treated as global to be used later within Max-Value and Min-Value, but then, the same could have been done with the variables game and state, that are used within the sub-functions but are not modified.

About the format, the variable player, in its initialization, is not in italic like the rest of the variables. This could be also a bug, unless the intention is that the different format was to indicate the variable is global, but then it should not be in italic within the sub-functions.

Also, in the function Minimax-Search the description of the return value is in italics, and it seems that this format is reserved for variables (in the Alpha-Beta-Search, the description of the return value "an action" is not in italics).

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