Alpha-Beta Pruning applies two optimisations:
- skip rest of MIN children when
- skip rest of MAX children when
Which are based on two observations of Minimax:
- when some of the children of a MAX node have been evaluated, there is a lower-bound on how much MAX can get, even if the other children have not been evaluated yet
- when some of the children of a MIN node have been evaluated , there is an upper bound on how much MAX can get, even if the other children have not been evaluated yet