Title: Unit Three
1Unit Three
2Lets play a game of Wumpus
3Wumpus World Description
4A Typical Wumpus World
5Lets play a game of Wumpus
6Motivating KB Agents
- Reflex agents keep the world clean, in large
part, by dumb luck - Searching algorithm can find the shortest path
from Arad to Bucharest, but cant easily adjust
when the road from Rimnicu Vilcea to Pitesti is
closed for maintenance. - Logic (Knowledge-Based) agents combine general
knowledge with current percepts to infer hidden
aspects of current state prior to selecting
actions
7Knowledge Bases
8Knowledge Base
- A knowledge base (KB) is a set of
representations (sentences) of facts about the
world. - TELL and ASK - two basic operations
- to add new knowledge to the KB
- to query what is known to the KB
- Infer - what should follow after the KB has been
TELLed. - A generic KB agent (Fig 7.1)
9Generic KB-Based Agent
10Simple Knowledge-Based Agent
11Representing Knowledge Problems PAGE Formulation
- Percepts
- What can agent observe?
- What can sensors tell it?
- Actions
- What actuators does agent have?
- In what context are they applicable?
- Goals
- What are agents goals? Preferences (utilities)?
- How does agent evaluate them (check environment,
deliberate, etc.)? - Environment
- What are rules of the world?
- How can these be represented, simulated?
12Wumpus World PAGE Description
13Wumpus World PEAS Description
14Lets Play Wumpus!
- You are in Cell (1,1) facing North
- None of the sensors register anything.
- Find the gold.
15Exploring the Wumpus World
16Exploring the Wumpus World
17Exploring the Wumpus World
18Exploring the Wumpus World
19Exploring the Wumpus World
20Exploring the Wumpus World
21Exploring the Wumpus World
22Exploring the Wumpus World
23Other tight spots
(0.86 vs. 0.31)
24Other tight spots
(0.86 vs. 0.31)
25Other tight spots
(0.86 vs. 0.31)
26Other tight spots
(0.86 vs. 0.31)