0% found this document useful (0 votes)
46 views6 pages

AI Exp2

Artificial intelligent experiment implementation

Uploaded by

sanjanabhosle27
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views6 pages

AI Exp2

Artificial intelligent experiment implementation

Uploaded by

sanjanabhosle27
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

EXPERIMENT NO.

Aim of the Experiment: -


Assignments on State space formulation and PEAS representation for various AI
applications

Lab Outcome: -
CSL604.2: Understand State space formulation and PEAS representation for
various AI applications.

Date of Performance:

Date of Submission:

Implementation Understanding Punctuality and Total


(05) (05) Discipline Marks
(05) (15)

__________________________________

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].

Wumpus World Properties:


 Partially observable: Agent perceives only the nearby environment.
 Deterministic: Known outcomes and results.
 Sequential: Sequence matters.
 Static: Wumpus and Pits remain stationary.
 Discrete: Environment features discrete elements.
 Single agent: Sole agent; Wumpus isn't considered an agent.
Exploring the Wumpus World:
The agent's First Step:
Initially stationed in room [1, 1], deemed safe. Represented as 'OK' on the diagram. Symbols: A
(Agent), B (Breeze), G (Glitter), V (Visited), P (Pits), W (Wumpus). No breeze or stench in [1,
1], indicating adjacent squares are also safe.
Agent's Second Step: Now, the agent must proceed forward, potentially moving to either [1, 2]
or [2, 1]. Suppose the agent selects room [2, 1]. Upon entering this room, the agent perceives a
breeze, indicating the presence of a nearby pit. The pit could be located at either [3, 1] or [2, 2].
Thus, we denote these rooms with the symbol P? to signify potential pit locations. Sensing the
danger, the agent halts, refraining from any risky actions. It retreats back to room [1, 1], marking
both [1, 1] and [2, 1] as visited with the symbol V.
Agent's Third Step: In the subsequent move, the agent navigates to room [1, 2], a confirmed safe
location. However, upon entry, the agent detects a stench, implying the presence of a nearby
Wumpus. Given the game's rules, the Wumpus cannot occupy rooms [1, 1] or [2, 2] (no stench
detected when the agent was at [2, 1]). Consequently, the agent deduces that the Wumpus must
reside in room [1, 3]. Furthermore, the absence of a breeze in [2, 2] confirms its safety. The
agent marks [2, 2] as OK and proceeds onward.
Agent's fourth step:
At room [2,2], here no stench and no breezes present so let's suppose agent decides to move to
[2,3]. At room [2,3] agent perceives glitter, so it should grab the gold and climb out of the cave.

PEAS Representation of Part Picking Robot:

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

You might also like