- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Comparing Search Strategies b:分支因子( b 是有限的是上述算法完备性的前提条件) d:最浅的解深度 m:搜索树最大深度 l:深度限制 Homework 8.1 8.2 2012+ * 2012+ * 2012+ * 2012+ * 2012+ * * 2012改 * 2012+ * 2012+ * * Why uniform-cost search? Breadth-first search Advantage Finds the path of minimal length to the goal. Disadvantage Requires the generation and storage of a tree whose size is exponential the depth of the shallowest goal node Uniform-cost search [Dijkstra 1959] Expansion by equal cost rather than equal depth Uniform-Cost Search 开始 把S放入OPEN表 OPEN表为空表? 把第一个节点(n)从OPEN表移至CLOSED表 n为目标节点吗? 把n的后继节点m放入OPEN表计算g(m) 修改返回节点n的指针 失败 成功 是 是 否 否 按g值升序重排OPEN表 g(m)=g(n)+c(n,m) Uniform-Cost Search Uniform-Cost Search Uniform-Cost Search Breadth-first search Minimal depth Uniform-cost search Minimal cost If each the cost of each step is equal, breadth-first search is equal to uniform-cost search. Breadth-first search is a special case of uniform-cost seach Uniform-Cost Search 性能分析 完备性:YES(分支因子有限) 最优性:YES(按照start到节点的代价来扩展) 时间复杂度: 空间复杂度: C*:最优解的代价 the cost of the optimal solution. E: 所有弧的最小代价 the minimum cost of any arc. 8 Depth-First Search Backtracking search Depth-First Search Backtracking search Procedure Generates the successor of a node just one at a time by apply individual operator. At each node a decision must be made about which operator to apply first, which next, and so on. Repeats this process until the leaves or depth bound. Depth bound: No successor is generated whose depth is greater than the depth bound. Example of depth-First Search: Eight-Puzzle Start Goal 8-puzzle example Depth bound: 5 Operator order: left ? up ? right ? down 8-puzzle example The graph when the goal is reached in depth-first search. Formal description of depth-first Search Set N (OPEN) to be a list of initial nodes. If N is empty, then exit and signal failure. Set n to be the first node in N, and remove n from N (and add n to CLOSED). If n is a goal node, then exit and signal success. Otherwise, add
您可能关注的文档
- §2.1荒漠化的防治--西北地区为例zmj课件.ppt
- §2.1金属材料终结版课件.ppt
- §25词五首武陵春精品课件二.ppt
- §2.1矩形第1课时矩形的性质.ppt
- 2015.11创新杯创新杯说课大赛国赛说课课件.ppt
- §25词五首武陵春精品课件三.ppt
- §4.3公式法第2课时运用完全平方公式因式分解.ppt
- §4.3古典经济学—李嘉图DavidRicardo1章节.ppt
- §2.1矩形第1课时章节.ppt
- §4.3古典经济学—李嘉图DavidRicardo2章节.ppt
- 变电站安全培训记录内容课件.pptx
- 2025-2026学年小学美术人美版2012五年级上册-人美版(2012)教学设计合集.docx
- 2025-2026学年小学美术人美版2024一年级上册-人美版(2024)教学设计合集.docx
- 2025-2026学年小学美术人美版北京2013二年级上册-人美版(北京)(2013)教学设计合集.docx
- 初中物理八年级上册专题突破讲义(人教版)专题07 光现象和透镜相关实验综合分析(原卷版).docx
- 投资理财心得体会PPT.pptx
- 抖音三月再见四月你好最火文案PPT大纲.pptx
- 初中物理八年级上册专题突破讲义(人教版)专题08 光现象和透镜相关作图综合分析(原卷版).docx
- 抗疫工作人员个人总结PPT.pptx
- 2025-2026学年小学美术六年级下册湘美版(2024)教学设计合集.docx
文档评论(0)