Professional Documents
Culture Documents
EXPERIMENT NO: - 01
AIM: PEAS Description for Wumpus World Game.
THEORY:
According to the father of Artificial Intelligence, John McCarthy, it is “The science
and engineering of making intelligent machines, especially intelligent computer
programs”.
AI has applications in all fields of human study, such as finance and economics,
environmental engineering, chemistry, computer science, and so on. Some of the
applications of AI are listed below:
➢ Perception
o Machine vision
o Speech understanding
o Touch ( tactile or haptic) sensation
➢ Robotics
➢ Natural Language Processing
o Natural Language Understanding
o Speech Understanding
o Language Generation
o Machine Translation
78_Rutuja Surve
➢ Planning
➢ Expert Systems
➢ Machine Learning
➢ Theorem proving
➢ Symbolic Mathematics
➢ Game playing
PEAS Description:
In the rationality of the agents, we have to specify the performance measure, the
environment, and the agent's actuators and sensors. Acronymically, we call this the
PEAS (Performance, Environment, Actuators, Sensors) description. In designing an
agent, the first step must always be to specify the task environment as fully as
possible.
Performance measure:
• +1000 reward points if the agent comes out of the cave with the gold.
• -1000 points penalty for being eaten by the Wumpus or falling into the pit.
• -1 for each action, and -10 for using an arrow.
• The game ends if either agent dies or came out of the cave.
Environment:
• A 4*4 grid of rooms.
• The agent initially in room square [1, 1], facing toward the right.
78_Rutuja Surve
• Location of Wumpus and gold are chosen randomly except the first square [1,1].
• Each square of the cave can be a pit with probability 0.2 except the first square.
Actuators:
• Left turn,
• Right turn
• Move forward
• Grab
• Release
• Shoot.
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.
Problem Formulation:
Problem formulation is the process of deciding what actions and states to consider,
given a goal. A problem can be defined formally by five components:
Initial State:
The agent always starts in the field [1,1].
Actions:
The agent perceives –
• a stench in the square containing the wumpus and in
the adjacent squares (not diagonally).
• a breeze in the squares adjacent to a pit.
• a glitter in the square where the gold is.
• a bump, if it walks into a wall
• a woeful scream everywhere in the cave, if the wumpus is killed.
Transition Model:
• The agent always starts in the field [1,1].
• The task of the agent is to find the gold, return to the field [1,1] and climb out of
the cave.
• The agent travels as right , left , up or down to proceed so as to reach to find the
gold.
• If the scenario is such that he gets near the breeze tile then he will pass the pit
without any problem but once he got stuck in the pit then he can never get out of
it.
• The agent has to also avoid the wumpus so as to avoid getting killed.
• If the agent crosses this all then he might reach the goal state i.e find the gold.
78_Rutuja Surve
Goal Test:
The agent’s goal is to find the gold and bring it back to the start as quickly as
possible, without getting killed i.e player should grab the gold and return to starting
room without being killed by the wumpus.
Path Cost:
Each state cost one so the path cost is the number of steps in the path.
CONCLUSION:
PEAS Description and Problem Formulation for Wumpus World Game has been
studied successfully.