chess:programming:alpha-beta_pruning:example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
chess:programming:alpha-beta_pruning:example [2021/10/30 23:32] – peter | chess:programming:alpha-beta_pruning:example [2021/10/30 23:35] (current) – peter | ||
---|---|---|---|
Line 45: | Line 45: | ||
{{: | {{: | ||
- | ---- | ||
* B returns 5 to A. | * B returns 5 to A. | ||
Line 71: | Line 70: | ||
* Therefore the best value at A is max(5, 2) which is a 5. | * Therefore the best value at A is max(5, 2) which is a 5. | ||
* Hence the optimal value that the maximizer can get is 5. | * Hence the optimal value that the maximizer can get is 5. | ||
+ | |||
+ | ---- | ||
This is how our final game tree looks like. | This is how our final game tree looks like. |
chess/programming/alpha-beta_pruning/example.1635636765.txt.gz · Last modified: 2021/10/30 23:32 by peter