- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Heuristic Search Introduction toArtificial Intelligence COS302 Michael L. Littman Fall 2001 Administration Thanks for emails to Littman@cs! Test message tonight… let me know if you don’t get it. Forgot to mention reading… (sorry). AI in the News “Computers double their performance every 18 months. So the danger is real that they could develop intelligence and take over the world.” Eminent physicist Stephen Hawking, advocating genetic engineering as a way to stay ahead of artificial intelligence. [Newsweek, 9/17/01] Blind Search Last time we discussed BFS and DFS and talked a bit about how to choose the right algorithm for a given search problem. But, if we know about the problem we are solving, we can be even cleverer… Revised Template fringe = {(s0, f(s0)}; /* initial cost */ markvisited(s0); While (1) { If empty(fringe), return failure; (s, c) = removemincost(fringe); If G(s) return s; Foreach s’ in N(s) if s’ in fringe, reduce cost if f(s’) smaller; else if unvisited(s’) fringe U= {(s’, f(s’)}; markvisited(s’); } Cost as True Distance Some Notation Minimum (true) distance to goal t(s) Estimated cost during search f(s) Steps from start state g(s) Estimated distance to goal (heuristic) h(s) Compare to Optimal Recall b is branching factor, d is depth of goal (d=t(s0)) Using true distances as costs in the search algorithm (f(s)=t(s)), how long is the path discovered? How many states get visited during search? Greedy True distance would be ideal. Hard to achieve. What if we use some function h(s) that approximates t(s)? f(s) = h(s): expand closest node first. Approximate Distances We saw already that if the approximation is perfect, the search is perfect. What if costs are +/- 1 of the true distance? |h(s)-t(s)| ? 1 Problem with Greedy Four criteria? Algorithm A Discourage wandering off: f(s) = g(s)+h(s) In words: Estimate of total path cost: cost so far plus estimated completion cost Search along the most promising path (not node) A Behaves Better Onl
文档评论(0)