abTreePractice icon indicating copy to clipboard operation
abTreePractice copied to clipboard

"Show solution" can prune nodes that it uses in the solution

Open modelarious opened this issue 6 years ago • 0 comments

In the following setup, the "show solution" button shows two nodes were pruned:

  • one with the value 7
  • one with the value 900

I'll focus on the 900 value. In this situation, the 900 needs to be inspected to see which value the maximizing player would choose: 11 or 900. Despite the program stating that the 900 node was pruned, it becomes the value of the maximizing parent node.

This is the same issue for the 7 node. It needs to be inspected, yet is stated to be pruned. As well, it is used as the value for the parent node.

Questionable alpha:beta

modelarious avatar Dec 03 '19 21:12 modelarious