人工智能的课件CH6_Game.ppt

  1. 1、本文档共182页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
人工智能的课件CH6_Game

* Maxn Pruning Why is maxn weak in practice? Only compares 2 scores out of n players Relies on game evaluation properties, not ordering Last-Branch Pruning Speculative Pruning Last-Branch/Speculative Pruning 1 (3, 3, 4) (3, 3, 4) 2 (3 Players) 2 3 3 (1, 4, 5) 1 (2, 4, 4) 2 Last Branch/Spec. Pruning Best case: O(bd·(n-1)/n) As b gets large Dependent only on node ordering in tree /~nathanst/ for more info Chance Dices, Cards, Scrabble, etc Chance in games started as a “divine” mechanism: Relation between divination and games, e.g. Tarot Many “road of life” games (Ganzebord, Snakes and ladders, Parchisi, Seth) Chess started as a racing game with dice Chance is introduced in the game tree by chance-nodes (a third player) Equilibria are not pure anymore (the best way to move might be a mixture of two moves) Chance Strategy 1: Use *-minimax by Ballard 1983 At min nodes minimize, at max nodes maximize, at chance nodes determine the expected payoff Might not produce optimal strategy Works with dice, not with card decks or scrabble Strategy 2: use Monte-Carlo Simulation Generate a random configuration of cards Compute an optimal strategy (Alphabeta) Repeat many times Determine move with best average pay-off Used in Scrabble, Bridge, Poker, etc Games of Chance Backgammon is a two player game with uncertainty. Players roll dice to determine what moves to make. White has just rolled 5 and 6 and had four legal moves: 5-10, 5-11 5-11, 19-24 5-10, 10-16 5-11, 11-16 Such games are good for exploring decision making in adversarial problems involving skill and luck. Game Trees with Chance Nodes Chance nodes (shown as circles) represent the dice rolls. Each chance node has 21 distinct children with a probability associated with each. We can use minimax to compute the values for the MAX and MIN nodes. Use expected values for chance nodes. For chance nodes over a max node, as in C, we compute: epectimax(C) = Sumi(P(di) * maxvalue(i)) For chance nodes over a min node compu

文档评论(0)

yaocen + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档