Unit-IV AI
Unit-IV AI
UNIT IV
It is a collection of sentences.
• Right turn
• Move forward
• Grab
• Release
• Shoot.
PEAS description of Wumpus world: Sensors:
• The agent will perceive the stench if he is in the room adjacent to the
Wumpus. (Not diagonally).
• The agent will perceive breeze if he is in the room directly adjacent to
the Pit.
• The agent will perceive the glitter in the room where the gold is
present.
• The agent will perceive the bump if he walks into a wall.
• When the Wumpus is shot, it emits a horrible scream which can be
perceived anywhere in the cave.
• These percepts can be represented as five element list, in which we
will have different indicators for each sensor.
• Example if agent perceives stench, breeze, but no glitter, no bump, and
no scream then it can be represented as: [Stench, Breeze, None, None,
None].
The Wumpus world Properties:
• Partially observable: The Wumpus world is partially
observable because the agent can only perceive the close
environment such as an adjacent room.
Now agent will stop and think and will not make any
harmful move.
Types of logic
● Different types of logics possible
● Propositional logic
● First-order logic
● Temporal logic
● Numerical constraints logic
● Map-coloring logic
Logic:-
Example:
“x + y = 4” is a well-formed sentence, whereas
“x2y+ =” is not.