AI Exp2
AI Exp2
Lab Outcome: -
CSL604.2: Understand State space formulation and PEAS representation for
various AI applications.
Date of Performance:
Date of Submission:
__________________________________
Practical Incharge
EXPERIMENT NO. 02
Aim: Assignments on State space formulation and PEAS representation for various AI
applications
Theory:
The Wumpus world is a cave which has 4/4 rooms connected with Passage ways. So there are
total 16 rooms which are connected with each other. We have a knowledge-based agent who will
go forward in this world. The cave has a room with a beast which is called Wumpus, who eats
anyone who enters the room. The Wumpus can be shot by the agent, but the agent has a single
arrow. In the Wumpus world, there are some Pits rooms which are bottomless, and if agent falls
in Pits, then he will be stuck there forever. The exciting thing with this cave is that in one room
there is a possibility of finding a heap of gold. So the agent goal is to find the gold and climb out
the cave without fallen into Pits or eaten by Wumpus. The agent will get a reward if he comes
out with gold, and he will get a penalty if eaten by Wumpus or falls in the pit
Following is a sample diagram for representing the Wumpus world. It is showing some rooms
with Pits, one room with Wumpus and one agent at (1, 1) square location of the world.
Procedure:
PEAS Description of Wumpus World:
In delineating the Wumpus world, we offer the following PEAS description:
Performance Measure:
+1000 reward points: Exiting the cave with the gold.
-1000 penalty points: Being devoured by the Wumpus or plummeting into a pit.
Deduction of -1 for each action; -10 for utilizing an arrow.
Game termination upon the demise of the agent or successful exit from the cave.
Environment:
Grid layout: 4x4 rooms.
Initial agent position: [1, 1] square, facing right.
Random selection of Wumpus and gold locations, excluding the initial square [1,1].
Each cave square has a 0.2 probability of being a pit, except the starting square.
Actuators:
Left turn
Right turn
Forward movement
Grab
Release
Shoot
Sensors:
Stench perception: Adjacent room to the Wumpus (non-diagonal).
Breeze perception: Directly adjacent room to the pit.
Glitter perception: Room containing the gold.
Bump perception: Collision with a wall.
Wumpus scream perception upon arrow shot.
Percepts represented as a five-element list: [Stench, Breeze, Glitter, Bump, Scream].
Performance Criteria:
Effectively retrieve parts from specified locations.
Minimize errors in part selection and handling.
Complete part retrieval tasks within designated timeframes.
Optimize energy consumption to ensure efficient operation.
Environment:
Factory setting with designated storage areas for parts.
Conveyor systems or shelving units containing the parts to be retrieved.
Robotic arms or grippers designed for part manipulation.
Sensor arrays for detecting part locations and verifying part identities.
Controlled lighting conditions to facilitate machine vision systems.
Safety protocols to prevent collisions with personnel and equipment.
Actuators:
Robotic arms equipped for precise part retrieval and placement.
Grippers or suction mechanisms for secure part handling.
Conveyor controls for regulating part movement.
Navigation controls for maneuvering within the workspace.
Sensors:
Cameras for visual recognition of part locations and types.
Proximity sensors for detecting obstacles and ensuring operational safety.
Barcode scanners or RFID readers for part identification.
Force sensors to monitor handling and ensure delicate part protection.
Temperature sensors for environmental monitoring and control.
The primary objective of the robot is to retrieve parts efficiently and accurately from designated
locations while upholding safety measures and operational standards.
Conclusion:
Assignments on State space formulation and PEAS representation for various AI applications is
done successfully