We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In aima4e-algorithms.pdf, in the pseudocode for Alpha-Beta-Search, the conditions for stopping the search in Max-Value and Min-Value are:
Alpha-Beta-Search
Max-Value
Min-Value
if v >= beta then return v, move
if v <= alpha then return v, move
There is nothing wrong with that, but I think it would be easier to understand using the conditions:
if alpha >= beta then return v, move
if beta <= alpha then return v, move
Unless, there is some subtlety that I am not seeing that makes these conditions different.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In aima4e-algorithms.pdf, in the pseudocode for
Alpha-Beta-Search
, the conditions for stopping the search inMax-Value
andMin-Value
are:if v >= beta then return v, move
if v <= alpha then return v, move
There is nothing wrong with that, but I think it would be easier to understand using the conditions:
if alpha >= beta then return v, move
if beta <= alpha then return v, move
Unless, there is some subtlety that I am not seeing that makes these conditions different.
The text was updated successfully, but these errors were encountered: