人工智能原理人工智能原理 (38).pdf
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《人工智能原理人工智能原理 (38).pdf》由会员分享,可在线阅读,更多相关《人工智能原理人工智能原理 (38).pdf(9页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Principles of Artificial Intelligence1The Structure of ProblemsPrinciples of Artificial Intelligence2Contents 6.5.1 Decomposing Problem 6.5.2 Independent Sub-problems 6.5.3 Tree-structured Problems 6.5.4 Reduce Constraint Graphs to Tree StructuresPrinciples of Artificial Intelligence:Searching:CSP3
2、The structure of problem as represented by constraint graph can be used to find solutions.由约束图所表征的问题结构,可以用于寻找解。The complexity of solving a CSP is strongly related to the structure of its constraint graph.求解一个CSP问题的复杂性,与约束图的结构密切相关。The problem in the real world can be decomposed into many sub-problems
3、.现实世界的问题可以被分解为许多子问题。Decomposing Problem 问题分解6.5.The Structure of ProblemsExample:Coloring Tasmania and coloring the mainland are independent sub-problems.对塔斯曼尼亚着色与澳洲大陆着色是相互独立的子问题。Divide and Conquer!Principles of Artificial Intelligence:Searching:CSP4 They are identifiable as connected components of
4、constraint graph.独立子问题可被标识为约束图的联接组件。Suppose a graph of n variables can be broken into sub-problems of only cvariables:each worst-case solution cost is O(n/c)dc),linear in n.设n个变量的图可分解为仅有c个变量的子问题:每个最坏解的代价是O(n/c)dc),n的线性关系。Without the decomposition,the total work is O(dn).如果不分解,则总的运行是O(dn)。E.g.,assumi
5、ng n=80,d=2,c=20,search 10 million nodes/sec.例如,假如 n=80,d=2,c=20,每秒搜索1千万个节点 Original problem:dn=280=4 billion years;4 sub-problems:(n/c)dc=(80/20)220=0.4 seconds.原始问题:dn=280=40亿年;4个子问题:(n/c)dc=(80/20)220=0.4秒。Independent Sub-problems独立子问题6.5.The Structure of ProblemsPrinciples of Artificial Intellig
6、ence:Searching:CSP5 Any tree-structured CSP can be solved in time linear in the number of variables.任何树结构的CSP都可以用变量数中的时间线性加以解决。The method to solve a tree-structured CSP:first pick any variable to be root of tree,and choose an ordering(called a topological sort).求解树结构CSP的方法:先挑选任意变量作为树的根,然后再选择一个排列(称为拓
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 人工智能原理人工智能原理 38 人工智能 原理 38
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内