for friday
play

For Friday Research paper due Homework: Chaper 10, exercise 43 - PowerPoint PPT Presentation

For Friday Research paper due Homework: Chaper 10, exercise 43 Final Exam Wednesday at 7:50 am Here Comprehensive Research Paper Any questions? Alpha-Beta Pruning Concept: Avoid looking at subtrees that wont


  1. For Friday • Research paper due • Homework: – Chaper 10, exercise 43

  2. Final Exam • Wednesday at 7:50 am • Here • Comprehensive

  3. Research Paper • Any questions?

  4. Alpha-Beta Pruning • Concept: Avoid looking at subtrees that won’t affect the outcome • Once a subtree is known to be worse than the current best option, don’t consider it further

  5. General Principle • If a node has value n, but the player considering moving to that node has a better choice either at the node’s parent or at some higher node in the tree, that node will never be chosen. • Keep track of MAX’s best choice (  ) and MIN’s best choice (  ) and prune any subtree as soon as it is known to be worse than the current  or  value

  6. function Max-Value (state, game,  ,  ) returns the minimax value of state if Cutoff-Test(state) then return Eval(state) for each s in Successors(state) do  <- Max(  , Min-Value(s , game,  ,  )) if  >=  then return  end return  function Min-Value(state, game,  ,  ) returns the minimax value of state if Cutoff-Test(state) then return Eval(state) for each s in Successors(state) do  <- Min(  ,Max-Value(s , game,  ,  )) if  <=  then return  end return 

  7. Red Black Trees

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend