《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter03

PROBLEM SOLVING AND SEARCH CHAPTER 3 Chapter 3 1
Problem solving and search Chapter 3 Chapter 3 1

Reminders Assignment 0 due 5pm today Assignment 1 posted,due 2/9 Section 105 will move to 9-10am starting next week Chapter 3 2
Reminders Assignment 0 due 5pm today Assignment 1 posted, due 2/9 Section 105 will move to 9-10am starting next week Chapter 3 2

Outline Problem-solving agents ◇Problem types ◇Problem formulation ◇Example problems Basic search algorithms Chapter 33
Outline ♦ Problem-solving agents ♦ Problem types ♦ Problem formulation ♦ Example problems ♦ Basic search algorithms Chapter 3 3

Problem-solving agents Restricted form of general agent: function SIMPLE-PROBLEM-SOLVING-AGENT(percept)returns an action static:seg,an action sequence,initially empty state,some description of the current world state goal,a goal,initially null problem,a problem formulation stateUPDATE-STATE(state,percept) if seg is empty then goal-FORMULATE-GOAL(state) problem+FORMULATE-PROBLEM(state,goal) seg-SEARCH(problem) action-RECOMMENDATION(seg,state) seg-REMAINDER(seg,state) return action Note:this is offline problem solving;solution executed "eyes closed." Online problem solving involves acting without complete knowledge. Chapter 3 4
Problem-solving agents Restricted form of general agent: function Simple-Problem-Solving-Agent( percept) returns an action static: seq, an action sequence, initially empty state, some description of the current world state goal, a goal, initially null problem, a problem formulation state ← Update-State(state, percept) if seq is empty then goal ←Formulate-Goal(state) problem ←Formulate-Problem(state, goal) seq ← Search( problem) action ←Recommendation(seq,state) seq ← Remainder(seq,state) return action Note: this is offline problem solving; solution executed “eyes closed.” Online problem solving involves acting without complete knowledge. Chapter 3 4

Example:Romania On holiday in Romania;currently in Arad. Flight leaves tomorrow from Bucharest Formulate goal: be in Bucharest Formulate problem: states:various cities actions:drive between cities Find solution: sequence of cities,e.g.,Arad,Sibiu,Fagaras,Bucharest Chapter 3 5
Example: Romania On holiday in Romania; currently in Arad. Flight leaves tomorrow from Bucharest Formulate goal: be in Bucharest Formulate problem: states: various cities actions: drive between cities Find solution: sequence of cities, e.g., Arad, Sibiu, Fagaras, Bucharest Chapter 3 5

Example:Romania ▣Oradea 71 Neamt 口Zerind 87 75 151 ▣lasi Arad 140 Sibiu 92 99 Fagaras 118 ▣ ▣Vaslui 80 女Timisoara Rimnicu Vilcea O 142 111 211 口Lugj 97 Pitesti 70 口 98 Mehadia 146 85 Urziceni ▣Hirsova 101 75 138 86 Bucharest Dobreta☐ 120 ▣ Craiova 90 Eforie Giurgiu Chapter 3 6
Example: Romania Giurgiu Urziceni Hirsova Eforie Neamt Oradea Zerind Arad Timisoara Lugoj Mehadia Dobreta Craiova Sibiu Fagaras Pitesti Vaslui Iasi Rimnicu Vilcea Bucharest 71 75 118 111 70 75 120 151 140 99 80 97 101 211 138 146 85 90 98 142 92 87 86 Chapter 3 6

Problem types Deterministic,fully observable-single-state problem Agent knows exactly which state it will be in;solution is a sequence Non-observable=conformant problem Agent may have no idea where it is;solution(if any)is a sequence Nondeterministic and/or partially observable=contingency problem percepts provide new information about current state solution is a contingent plan or a policy often interleave search,execution Unknown state space exploration problem ("online") Chapter 3 7
Problem types Deterministic, fully observable =⇒ single-state problem Agent knows exactly which state it will be in; solution is a sequence Non-observable =⇒ conformant problem Agent may have no idea where it is; solution (if any) is a sequence Nondeterministic and/or partially observable =⇒ contingency problem percepts provide new information about current state solution is a contingent plan or a policy often interleave search, execution Unknown state space =⇒ exploration problem (“online”) Chapter 3 7

Example:vacuum world Single-state,start in #5.Solution?? -Q 2 哪 哪 3 8 Q 娜 -Q Chapter 3 8
Example: vacuum world Single-state, start in #5. Solution?? 1 2 3 4 5 6 7 8 Chapter 3 8

Example:vacuum world Single-state,start in #5.Solution?? Right,Suck 1 -Q 2 绑 Conformant,start in (1,2,3,4,5,6,7,8 e.g.,Right goes to (2,4,6,8).Solution?? Q Q 粥 5 -Q 部 8 =Q Chapter 3 9
Example: vacuum world Single-state, start in #5. Solution?? [Right, Suck] Conformant, start in {1, 2, 3, 4, 5, 6, 7, 8} e.g., Right goes to {2, 4, 6, 8}. Solution?? 1 2 3 4 5 6 7 8 Chapter 3 9

Example:vacuum world Single-state,start in #5.Solution?? Right,Suck Q 哪 哪 Conformant,start in 1,2,3,4,5,6,7,8 e.g.,Right goes to (2,4,6,8).Solution?? 3 8 Right,Suck,Left,Suck 5 -Q ~Q Contingency,start in #5 娜 Murphy's Law:Suck can dirty a clean carpet -Q Local sensing:dirt,location only. Solution.?? Chapter 3 10
Example: vacuum world Single-state, start in #5. Solution?? [Right, Suck] Conformant, start in {1, 2, 3, 4, 5, 6, 7, 8} e.g., Right goes to {2, 4, 6, 8}. Solution?? [Right, Suck,Left, Suck] Contingency, start in #5 Murphy’s Law: Suck can dirty a clean carpet Local sensing: dirt, location only. Solution?? 1 2 3 4 5 6 7 8 Chapter 3 10
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter03-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter02.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter02-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter01.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter01-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(教材,英文版)Part VI Learning 20 Statistical Learning Methods.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(教材,英文版)Part IV Planning 11 Planning.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(教材,英文版)Part III Knowledge and Reasoning 7 Logical Agents.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(教材,英文版)Part II Problem Solving 5 Constraint Satisfaction Problems.pdf
- 《单片机应用技术》课程教学资源(教案)单片机应用技术教案.pdf
- 《C语言程序设计》课程教学资源(教案讲义)第8章 函数.pdf
- 《Python程序开发》教学资源(讲义)第二章 数据类型与结构.pdf
- 《数据库设计与应用》课程教学资源(PPT课件讲稿)T-SQL语言.pdf
- 南京大学:《计算理论之美》课程教学资源(课件讲稿)Social Choice Theory.pdf
- 南京大学:《计算理论之美》课程教学资源(课件讲稿)Lovász local lemma(Shearer).pdf
- 南京大学:《计算理论之美》课程教学资源(课件讲稿)An introduction to quantum error-correction.pdf
- 南京大学:《计算理论之美》课程教学资源(课件讲稿)Perfect Sampling for(Atomic)Lovász Local Lemma.pptx
- 南京大学:《计算理论之美》课程教学资源(课件讲稿)Lovász Local Lemma(LLL).pdf
- 南京大学:《计算理论之美》课程教学资源(课件讲稿)Some efficient algorithms for the k-vertex cover problem.pdf
- 南京大学:《计算理论之美》课程教学资源(课件讲稿)Principles of Quantum Computation.pptx
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter04a-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter04a.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter04b-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter04b.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter05-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter05.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter06-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter06.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter07-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter07.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter08-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter08.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter09-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter09.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter13-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter13.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter14a-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter14a.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter14b-6pp.pdf
- 《Artificial Intelligence:A Modern Approach》教学资源(讲义,英文版)chapter14b.pdf