Logical Agents: (AIMA - Chapter 7)
Logical Agents: (AIMA - Chapter 7)
(AIMA - Chapter 7)
Next Time:
Automated Propositional Theorem Provers
• Resolution
• A Practical Method: Walksat
Wumpus
Environment
• Squares adjacent to wumpus are smelly
• Squares adjacent to pit are breezy
• Glitter iff gold is in the same square
• Gold is picked up by reflex, can’t be dropped
• You bump if you walk into a wall
Environment
• Squares adjacent to wumpus are smelly
• Squares adjacent to pit are breezy
• Glitter iff gold is in the same square
• Shooting kills wumpus if you are facing it. It screams
• Shooting uses up the only arrow
• Grabbing picks up gold if in same square
• Releasing drops the gold in same square
• You bump if you walk into a wall
2. Location: [1,1]
Percept: [Stench, Breeze, Glitter, Bump]
Action: Move to safe cell e.g. 2,1
3. Location: [2,1]
Percept: [Stench, Breeze, Glitter, Bump]
INFER: Breeze indicates that there is a pit in [2,2] or [3,1]
Action: Return to [1,1] to try next safe cell
CIS 391 - Intro to AI 8
Exploring the Wumpus World
start: P1,1
B1,1
B2,1
Situation after
A. detecting nothing in [1,1],
B. moving right, breeze in [2,1]:
Pit
Breeze
All possible models (exactly 8) in this reduced Wumpus world.
α2 = "[2,2] is safe", KB ╞ α2
You need to
know these !