Artificial Intelligence: (Unit 2: Agents)
Artificial Intelligence: (Unit 2: Agents)
com
[Unit 2: Agents]
Artificial Intelligence (CSC 355)
1
Downloded from: CSITauthority.blogspot.com
Artificial Intelligence Chapter- Agents
Intelligent Agents
An Intelligent Agent perceives it environment via sensors and acts rationally upon that
environment with its effectors (actuators). Hence, an agent gets percepts one at a time, and
maps this percept sequence to actions.
– Autonomous
– Interacts with other agents plus the environment
– Reactive to the environment
– Pro-active (goal- directed)
For Humans
– Sensors: Eyes (vision), ears (hearing), skin (touch), tongue (gestation), nose
(olfaction), neuromuscular system (proprioception)
– Percepts:
• At the lowest level – electrical signals from these sensors
• After preprocessing – objects in the visual field (location, textures,
colors, …), auditory streams (pitch, loudness, direction), …
– Effectors: limbs, digits, eyes, tongue, …..
– Actions: lift a finger, turn left, walk, run, carry an object, …
The Point: percepts and actions need to be carefully defined, possibly at different levels of
abstraction
2
Bal Krishna Subedi
Downloded from: CSITauthority.blogspot.com
Artificial Intelligence Chapter- Agents
Challenge!!
Compare Software with an agent
Compare Human with an agent
The agent function is mathematical concept that maps percept sequence to actions.
f : P* A
The agent function will internally be represented by the agent program.
The agent program is concrete implementation of agent function it runs on the physical
architecture to produce f.
The vacuum-cleaner world: Example of Agent
3
Bal Krishna Subedi
Downloded from: CSITauthority.blogspot.com
Artificial Intelligence Chapter- Agents
Therefore we need some way to measure success of an agent. Performance measures are
the criterion for success of an agent behavior.
E.g., performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up,
amount of time taken, amount of electricity consumed, amount of noise generated, etc.
It is not easy task to choose the performance measure of an agent. For example if the
performance measure for automated vacuum cleaner is “The amount of dirt cleaned within
a certain time” Then a rational agent can maximize this performance by cleaning up the
dirt , then dumping it all on the floor, then cleaning it up again , and so on. Therefore
“How clean the floor is” is better choice for performance measure of vacuum cleaner.
4
Bal Krishna Subedi
Downloded from: CSITauthority.blogspot.com
Artificial Intelligence Chapter- Agents
Environments
To design a rational agent we must specify its task environment. Task environment means:
PEAS description of the environment:
– Performance
– Environment
– Actuators
– Sensors
Agent Types:
5
Bal Krishna Subedi