PEASreference
PEASreference
Performance measure
Target: In this section, we look into the performance measures of 8-queens problem.
That is, finding all possible arrangements of eight queens on an 8x8 chess board such
that no two queens threaten each other.
Criteria for success:
The solution should have all eight queens placed.
No two queens should be in the same row or column and none of them should
be in adjacent to one another on the diagonal.
If there is a count measure, then all different solutions can also be counted.
Environment
Definition: Actuators are those mechanisms by which the agent modifies its
surroundings or interacts with it
For the eight Queens Problem;
Actuators refer to queen placements on a board in specific rows and
columns.
Actuators within algorithms could correspondingly include methods or
functions for placing a queen onto a specified square and updating condition
of boards respectively
Sensors
Correct Solution:
Incorrect Solution:
PEAS Specification for VLSI layout problem
Performance
Environment
The conditions and rules we work within.
• Constraints: The design rules and limitations that must be followed, like how
close components can be to each other and the maximum power usage.
• AI Role: AI must respect these rules and limitations while designing the layout.
Actuators
The actions AI can take to modify the design.
• Actions: AI can decide where to place components, how to connect them, and
make adjustments to their sizes.
• AI Role: AI makes these decisions to improve the chip's performance.
Sensors
The information AI uses to make decisions.
• Data: Information on how much power is being used, how fast signals travel, heat
distribution, and whether the design follows all rules.
• AI Role: AI uses this data to assess and refine the design.
Example
Imagine an AI working on designing a computer chip:
• Performance: The AI aims to make the chip as fast as possible, use minimal
power, and be compact.
• Environment: The AI has to follow specific design rules and stay within
manufacturing limits.
• Actuators: The AI can move components around, decide how they are connected,
and change their sizes.
• Sensors: The AI collects data on power usage, speed, heat, and rule
compliance to inform its decisions.
By continuously adjusting the layout based on this information, the AI finds the best
possible chip design.
WUMPUS WORLD
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:
Actions/Actuators:
Sensors:
The agent has five sensors, each of which gives a single bit of information:
In the square containing the wumpus and in the directly (not diagonally) adjacent
squares, The agent will perceive a Stench.
In the squares directly adjacent to a pit, the agent will perceive a Breeze.
In the square where the gold is, the agent will perceive a Glitter.
When an agent walks into a wall, it will perceive a Bump.
When the wumpus is killed, it emits a woeful Scream that can be perceived
anywhere in the Cave.
The percepts will be given to the agent program in the form of a list of five symbols;
-For example: if there is a stench and a breeze, but no glitter, bump, or scream, the
agent program Will get
[Stench, Breeze, None, None, None].
Search Problems
Performance Measure
Environment
Static or dynamic
Deterministic or stochastic
Single or multi-agent
Actuators
Actions that can be taken (e.g., move left, move right, pick up, put down)
Sensors
Information available about the current state (e.g., position, object locations, sensor
readings)
VACUUM CLEANER AGENT
Performance measure:
Environment:
Actuators:
Sensors:
This description outlines how a vacuum cleaner agent interacts with its environment and
the tools it uses to achieve its goal of cleaning efficiently.
Protein Design
Actuators: The actuators in protein design are the algorithms used for designing proteins,
which include machine learning models, evolutionary algorithms, and molecular dynamics
simulations, as well as software tools for modeling and visualizing protein structures (such
as PyMOL and Rosetta), and automated systems for synthesizing and testing designed
proteins in the lab.
Sensors: The sensors for protein design consist of feedback from computational models
indicating the design’s success in silico, experimental data from lab tests on synthesized
proteins (like spectroscopy and crystallography), data from biological assays assessing
protein activity and stability, and databases providing information on known protein
structures for comparison and validation.S
ROUTE FINDING PROBLEM
Performance Measure
The performance measure evaluates how well the agent is achieving its goal. For route-
finding, typical performance measures might include:
- **Shortest Path**: The length of the path found; the goal is to minimize this length.
- **Time Taken**: The time or number of steps required to find the route.
- **Optimality**: Whether the route is the best possible route according to some criteria
(e.g., shortest, least congested).
Environment
The environment encompasses everything the agent interacts with to achieve its goal. In
route finding, the environment usually consists of:
- **Map/Grid/Network**: The layout of the space in which the agent is navigating, which
may be represented as a graph, grid, or another structure.
- **Start and Goal Locations**: The initial position and the target destination.
- **Dynamic Elements**: Factors that may change over time, like traffic, road closures, or
dynamic obstacles.
Actuators
Actuators are the mechanisms by which the agent acts upon the environment. For a route-
finding agent, actuators might include:
- **Path Adjustments**: Commands to adjust the planned path based on new information
or constraints.
Sensors
Sensors provide the agent with information about the environment. For route-finding,
sensors might involve:
By specifying these components, you define how an agent should function in a route-finding
scenario, enabling effective problem-solving strategies and performance evaluations.
ROBOT NAVIGATION
In artificial intelligence (AI), a robot navigation problem involves guiding a robot from a start
location to a destination within a given environment, avoiding obstacles and optimizing
certain criteria like time, distance, or energy consumption. To understand this problem
better, it can be broken down using the PEAS framework, which stands for Performance
measure, Environment, Actuators, and Sensors. Here's how the PEAS framework applies to
robot navigation:
1. Performance Measure
The performance measure defines the criteria used to evaluate the success of the robot
navigation. Common performance measures include:
2. Environment
The environment refers to the setting in which the robot operates. It can vary significantly
and impacts the complexity of the navigation problem. Examples include:
Static environment: The environment does not change over time, with fixed obstacles and
layout.
Dynamic environment: The environment changes over time, with moving obstacles or
changing layouts. Known
environment: The robot has prior knowledge of the environment's layout.
Unknown environment: The robot must explore and map the environment as it navigates.
3. Actuators
Actuators are the mechanisms that allow the robot to move and interact with its
environment. Common actuators in robot navigation include:
Wheels: For wheeled robots, allowing movement along flat surfaces.
Legs: For legged robots, enabling movement over uneven terrain.
Arms: For manipulative tasks, such as opening doors or moving obstacles.
4. Sensors
Sensors provide the robot with information about its environment and its own state.
Essential sensors for navigation include:
LIDAR: Light Detection and Ranging, used for measuring distances and mapping the
environment.
Cameras: For visual perception and object recognition.GPS: For global positioning and
location tracking.
IMU: Inertial Measurement Unit, for measuring acceleration and orientation.
Sonar/Ultrasound: For detecting obstacles and measuring distances in close proximity.
Consider a robot tasked with delivering packages within a warehouse. The PEAS description
might look like this:
Performance Measure: Minimize delivery time, avoid collisions, and ensure accurate
delivery to specified locations.
Environment: A dynamic, known environment with fixed shelving units and moving human
workers and other robots.
Actuators: Wheels for movement and an arm for picking up and placing packages.
Sensors: LIDAR for mapping and obstacle detection, cameras for package recognition, and
GPS for location tracking within the warehouse.
1. *Performance Measure*:
- Efficiency: The vehicle should minimize the total distance traveled or time taken.
- User Satisfaction: Meeting user preferences and requests for specific routes or
destinations.
2. *Environment*:
- Roads and Highways: Different types of road conditions and traffic scenarios.
- Urban Areas: City streets with pedestrians, traffic lights, and varying traffic density.
- Rural Areas: Less traffic but potentially more unpredictable elements like animals or
unpaved roads.
- Weather Conditions: Rain, snow, fog, and other weather conditions affecting visibility
and road conditions.
3. *Actuators*:
4. *Sensors*:
- Cameras: Visual input for detecting road conditions, signs, and obstacles.
This structured PEAS description helps in designing the intelligent agent (the touring vehicle)
by clearly defining its objectives, the context it operates in, and the tools it uses to
achieve its goals.
AIRLINE TRAVEL PROBLEM
To analyze a problem in the context of airline travel using PEAS (Performance measure,
Environment, Actuators, and Sensors), you need to break down the problem into these four
components. Here's how you might apply PEAS to a typical airline travel problem, such as
optimizing flight scheduling:
1. Performance Measure:
2. Environment:
- Flight Scheduling System: Software and systems used to create and manage flight
schedules.
- Air Traffic Management Systems: Systems used to control and manage aircraft
movements.
- Communication Systems: Tools used for communication between airlines, airports, and
passengers.
4. Sensors:
- Flight Tracking Systems: Systems that monitor real-time flight status and location.
- Weather Sensors: Instruments that provide current weather conditions and forecasts.
- Aircraft Sensors: Systems that monitor the status of aircraft (e.g., fuel levels, mechanical
status).
Assembly sequencing problem
Assembly sequencing in artificial intelligence (AI) refers to the process of determining the
most efficient sequence of operations for assembling a product. It leverages AI techniques
to optimize the assembly process, aiming to reduce time, cost, and errors. Key elements of
assembly sequencing include:
1. Task Scheduling: AI algorithms determine the optimal order of tasks, ensuring that
dependencies and constraints are respected.
2. Path Planning: AI helps in planning the movement of robotic arms or automated systems,
finding the shortest and safest paths.
3. Error Detection and Correction: Real-time monitoring and correction of errors using AI,
improving reliability and reducing downtime.
4. Resource Allocation: AI ensures that all necessary resources (tools, parts, etc.) are
available at the right times, optimizing workflow.
PEAS Description
PEAS stands for *Performance measure, Environment, Actuators, and Sensors*. It's a
framework used to describe the components of an intelligent agent.
1. Performance Measure:
- Partially Observable: Some aspects, like the exact state of a part, may not always be
visible.
3. Actuators:
4. Sensors:
- Barcode/RFID Scanners: For tracking parts and ensuring correct components are used.
By applying the PEAS framework, we can design and evaluate AI systems for assembly
sequencing, ensuring they meet the desired performance measures in their
specific environment.
TOMATO CLASSIFICATION SYSTEM
Performance Measure
The performance measure evaluates how well the tomato classifier is achieving its goals. For
a tomato classifier, this might include:
Environment
The environment encompasses everything the classifier interacts with. For a tomato
classifier, the environment might include:
Tomatoes: The actual objects being classified, which may vary in size, color, shape,
and condition.
Classification Criteria: The attributes or categories used for classification, such as
ripeness levels (e.g., under-ripe, ripe, over-ripe) or types of tomatoes (e.g., cherry,
beefsteak).
Lighting Conditions: The lighting under which the tomatoes are observed, which can
affect image quality.
Background and Surroundings: The physical setup where tomatoes are presented
for classification.
Actuators
Actuators are the mechanisms by which the classifier acts upon the environment or
presents its results. For a tomato classifier, actuators might include:
Sensors
Sensors provide the classifier with information about the tomatoes and their environment.
For a tomato classifier, sensors might include:
By defining these components, you provide a clear framework for designing, implementing,
and evaluating the tomato classifier machine, ensuring that it performs effectively in its
intended environment.
PEAS SPECIFICATION FOR BIOMETRICS ANALYSIS SYSTEM
Performance Measure
The performance measure evaluates how effectively the biometric analysis system meets its
goals. Key performance measures for a biometric system might include:
Accuracy: The rate at which the system correctly identifies or verifies individuals.
This includes:
o True Positive Rate: Correctly identifying individuals as belonging to the
correct identity.
o False Positive Rate: Incorrectly identifying individuals as belonging to an
identity they do not belong to.
o False Negative Rate: Failing to identify individuals who should be recognized.
Matching Speed: Time taken to compare and match biometric data.
Error Rate: Frequency of incorrect identifications or verifications.
Scalability: How well the system handles large databases of biometric data.
User Satisfaction: User experience and ease of use, which may include response
time and accuracy in real-world scenarios.
Environment
The environment refers to the context and conditions in which the biometric system
operates:
Biometric Data: The biometric features being analyzed, such as fingerprints, facial
images, iris patterns, or voice samples.
Database: The repository of enrolled biometric data used for comparison and
matching.
Operating Conditions: Environmental factors such as lighting conditions for facial
recognition or quality of fingerprint images that can affect the system's
performance.
Access Points: Locations or interfaces where the biometric system is deployed, such
as entry points in a building, mobile devices, or online platforms.
Actuators
Actuators are the mechanisms through which the system interacts with the environment or
presents results:
Sensors
Sensors capture the biometric data needed for analysis. Depending on the type of biometric
system, sensors might include:
By specifying these PEAS components, you outline how the biometric analysis system should
operate, how it measures success, and how it interacts with its environment, ensuring
effective performance and user experience.
PEAS Description of 8 – Puzzle Problem
Performance Measurement :
The goal is to reach the goal state (usually the tiles in order from 1 to 8 with the
empty space at the end) using the fewest moves possible.
Additional measures might include the time taken to solve the puzzle, the number
of moves taken, or the computational resources used.
Environment:
The 8-puzzle environment consists of a 3x3 grid with eight numbered tiles and
one empty space.
The agent can interact with this environment by sliding tiles into the empty
space.
Actuators / Action :
The possible actions (actuators) are moving the empty space up, down, left, or
right.
These actions change the configuration of the tiles on the grid.
Sensors :