1 / 15

Max

Max. Min. Max. Min. Starting node and labels Alpha -Beta Prune. Max. Min. Max. Min. Perform a DFS. Max. Min. Max. Min. Continue the DFS. Max. Min. Max. Min. 2. 3. Until reach the depth we want, i.e., 3-ply in this case. Max. Min. 3. Max. Min. 2. 3.

tate
Télécharger la présentation

Max

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Max Min Max Min Starting node and labels Alpha-Beta Prune

  2. Max Min Max Min Perform a DFS

  3. Max Min Max Min Continue the DFS

  4. Max Min Max Min 2 3 Until reach the depth we want, i.e., 3-ply in this case

  5. Max Min 3 Max Min 2 3 Propagate leaf values backward

  6. Max 3 Min 3 Max Min 2 3

  7. 3 Max 3 Min 3 Max Min 2 3

  8. 3 Alpha Node Max 3 Min Beta Node 3 Max Min 2 3

  9. 3 Alpha Max 3 Min Beta 3 Max Min 5 2 3 New DFS path Ended with 5

  10. 3 Alpha Max 3 Min Beta 3 Max 5 Min 5 2 3 Propagate backward

  11. 3 Alpha Max 3 Min Beta 3 Max 5 Min 5 2 3 Because 3 < 5 The branch is pruned. Beta-Prune

  12. 3 Alpha Max 3 Min Beta 3 Max 5 Min 0 5 2 3 New 3-ply DFS Ended with 0

  13. 3 Alpha Max 3 Min Beta 3 Max 5 0 Min 0 5 2 3 Propagate backward

  14. 3 Alpha Max 3 0 Min Beta 3 Max 5 0 Min 0 5 2 3 Propagate backward

  15. 3 Alpha Max 3 0 Min Beta 3 Max 5 0 Min 0 5 2 3 The branch is cut off Because 3 > 0 Alpha Prune

More Related