chapter03 - Problem solving and search Chapter 3 Chapter 3...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Problem solving and search Chapter 3 Chapter 3 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
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
Image of page 2
Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms Chapter 3 3
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
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
Image of page 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
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
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
Image of page 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
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Example: vacuum world Single-state , start in #5. Solution ?? 1 2 3 4 5 6 7 8 Chapter 3 8
Image of page 8
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
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
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
Image of page 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.
Image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern