CS 2 - Agents&enviornent
CS 2 - Agents&enviornent
ZC444]
CS 2-Agents &Environment
BITS Pilani Dr. Vijayalakshmi Anand
Pilani Campus
Course Plan
M1 Introduction to AI
M2 Problem Solving Agent using Search
M3 Game Playing, Constraint Satisfaction Problem
M4 Knowledge Representation using Logics
M5 Probabilistic Representation and Reasoning
M6 Reasoning over time, Reinforcement Learning
B. Intelligent Agents
C. Task Environment
An AI system is composed of
an agent
an environment
Example of agents
Robotic
Human
Software
Simple
No calculation or solve complicated problems
Fully observable environment
Works on condition-action rule
Poker Chess
Sensor Based:
Observability : Full Vs Partial
Action Based:
Dependency : Episodic Vs Sequential
State Based:
No.of.State : Discrete Vs Continuous
Agent Based:
> Cardinality : Single Vs MultiAgent
32
BITS Pilani, Pilani Campus
Module 2 : Problem Solving Agent using
Search
A. Uninformed Search
B. Informed Search
C. Heuristic Functions
“a problem- Goal
Formulation
solving refers to
a state where we
Problem
wish to reach to Formulation
a definite goal
from a present Search
state or condition Phase
Execution
Phase BITS Pilani, Pilani Campus
Problem Solving Agents-Goal
formulation
first and simplest step in problem-solving.
organizes the steps/sequence required to formulate
one goal out of multiple goals as well as actions to
achieve that goal.
current situation and the agent’s performance measure
is the first step in problem solving.
Leaf Nodes
(no children yet)
Nodes
States
Frontier | Fringes
Search Strategy : LIFO | FIFO | Priority Queue
Performance Metrics
Completeness
Optimality
Time Complexity
Space Complexity
Algorithm Terminology
- d Depth of a node - m – maximum
- b Branching factor - C* - Optimal Cost
- n – nodes - E – least Cost
- l – level of a node - N –total node generated