SlideShare a Scribd company logo
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
 Rational agents or Problem-solving agents in AI
mostly used these search strategies or algorithms to
solve a specific problem and provide the best result.
 Problem-solving agents are the goal-based agents and
use atomic representation.
 Search: Searching is a step by step procedure to solve
a search-problem in a given search space. A search
problem can have three main factors:
◦ Search Space: Search space represents a set of possible
solutions, which a system may have.
◦ Start State: It is a state from where agent begins the search.
◦ Goal test: It is a function which observe the current state and
returns whether the goal state is achieved or not.
 Search tree: A tree representation of search problem is called
Search tree. The root of the search tree is the root node which is
corresponding to the initial state.
 Actions: It gives the description of all the available actions to the
agent.
 Transition model: A description of what each action do, can be
represented as a transition model.
 Path Cost: It is a function which assigns a numeric cost to each
path.
 Solution: It is an action sequence which leads from the start node to
the goal node.
 Optimal Solution: If a solution has the lowest cost among all
solutions.
Four essential properties of search algorithms to compare
the efficiency of these algorithms:
 Completeness: A search algorithm is said to be
complete if it guarantees to return a solution if at least
any solution exists for any random input.
 Time Complexity: Time complexity is a measure of
time for an algorithm to complete its task.
 Optimality: If a solution found for an algorithm is
guaranteed to be the best solution (lowest path cost)
among all other solutions, then such a solution for is
said to be an optimal solution.
 Space Complexity: It is the maximum storage space
required at any point during the search, as the
complexity of the problem.
 Based on the search problems we can classify the
search algorithms into
1. uninformed (Blind search) search and
2. informed search (Heuristic search) algorithms.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
 does not contain any domain knowledge such as
closeness, the location of the goal.
 operates in a brute-force way as it only includes
information about how to traverse the tree and how to
identify leaf and goal nodes.
 Uninformed search applies a way in which search tree
is searched without any information about the search
space like initial state operators and test for the goal, so
it is also called blind search.
 It examines each node of the tree until it achieves the
 Informed search algorithms use domain knowledge.
 Informed search strategies can find a solution more
efficiently than an uninformed search strategy.
 Informed search is also called a Heuristic search.
 A heuristic is a way which might not always be
guaranteed for best solutions but guaranteed to find a
good solution in reasonable time.
 Informed search can solve much complex problem which
could not be solved in another way.
 Breadth-first search is the most common search
strategy for traversing a tree or graph. This algorithm
searches breadthwise in a tree or graph, so it is called
breadth-first search.
 BFS algorithm starts searching from the root node of
the tree and expands all successor node at the current
level before moving to nodes of next level.
 Breadth-first search implemented using FIFO queue
data structure.
 BFS will provide a solution if any solution exists.
 If there are more than one solutions for a given
problem, then BFS will provide the minimal solution
which requires the least number of steps.
 BFS algorithm from the root node S to goal node K.
 It starts from the root node and follows each path to its greatest
depth node before moving to the next path.
 DFS uses a stack data structure for its implementation.
 The process of the DFS algorithm is similar to the BFS algorithm.
Advantage:
 requires very less memory
 takes less time to reach to the goal node than BFS algorithm (if it
traverses in the right path).
 Root node--->Left node ----> right node.
 A depth-limited search algorithm is similar to depth-
first search with a predetermined limit.
 Depth-limited search can solve the drawback of the
infinite path in the Depth-first search.
 In this algorithm, the node at the depth limit will treat
as it has no successor nodes further.
 (It may not be optimal if the problem has
more than one solution.) incompleteness
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
 used for traversing a weighted tree or graph.
 This algorithm comes into play when a different cost is
available for each edge.
 is implemented by the priority queue.
 It gives maximum priority to the lowest cumulative
cost.
 Uniform cost search is equivalent to BFS algorithm if
the path cost of all edges is the same.
 does not care about the number of steps
involve in searching
 The iterative deepening algorithm is a combination of
DFS and BFS algorithms.
 finds out the best depth limit and does it by gradually
increasing the limit until a goal is found.
 The iterative search algorithm is useful uninformed
search when search space is large, and depth of goal
node is unknown.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
 1'st Iteration-----> A
2'nd Iteration----> A, B, C
3'rd Iteration------>A, B, D, E, C, F, G
4'th Iteration------>A, B, D, H, I, E, C, F, K, G
In the fourth iteration, the algorithm will find the goal
node.
 Bidirectional search algorithm runs two simultaneous searches, one
form initial state called as forward-search and other from goal node
called as backward-search, to find the goal node.
 Bidirectional search replaces one single search graph with two small
subgraphs in which one starts the search from an initial vertex and
other starts from goal vertex. The search stops when these two
graphs intersect each other.
 Bidirectional search can use search techniques such as BFS, DFS,
DLS, etc.
 Implementation of the bidirectional search tree is
difficult.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC

More Related Content

PPTX
matatag_use of models_science 7 2024.pptx
GLENNMENDOZA10
 
PPTX
TYPES OF PLATE BOUNDARIES
DARYL (MONKAYO NHS)
 
PPT
Sun and earth
safa-medaney
 
PPTX
Location of the Philippines with respect to landmasses and bodies of water
Simple ABbieC
 
PPT
Continental Drift Presentation1
Andy Dorn
 
PDF
Planet rotation (worksheet)
Moira Whitehouse
 
PPTX
grade 6 science , middle school. Earth's Days, Years and Seasons.pptx
RashaShawky7
 
matatag_use of models_science 7 2024.pptx
GLENNMENDOZA10
 
TYPES OF PLATE BOUNDARIES
DARYL (MONKAYO NHS)
 
Sun and earth
safa-medaney
 
Location of the Philippines with respect to landmasses and bodies of water
Simple ABbieC
 
Continental Drift Presentation1
Andy Dorn
 
Planet rotation (worksheet)
Moira Whitehouse
 
grade 6 science , middle school. Earth's Days, Years and Seasons.pptx
RashaShawky7
 

What's hot (19)

PPTX
Biology review
Erin Mucci
 
PPT
Chapter 1
rhaymoudz
 
PPT
The Origin of Modern Astronomy
Saeed Jafari
 
DOCX
Module in forces and laws of motion
Baste Chan
 
PDF
Plate Boundaries, Tectonic Plates & Plate Tectonics
brontegilson
 
PPTX
Earthquakes and Faults Quiz
Jan Del Rosario
 
PDF
Grade 8 science las
SHIELABALINGCOS2
 
PDF
Branches of physics
SRLive
 
PPTX
Science 10: Quarter 1- Plate Tectonics.pptx
AnilynAcostaDizon
 
PPTX
Law of acceleration
Wyniel Sabanal
 
PPTX
Law of motion
Elcy lloyd Cariño
 
PPTX
Factors Affecting the Climate (Latitude and Altitude)
MissyBalbin
 
PPT
Plate Tectonics
dluetgens
 
PPTX
Weather and Climate
Johnel Esponilla
 
PPT
The History of Astronomy
06426345
 
PPT
Gepgraphy M1 Introducing Plate Tectonics
eLearningJa
 
PPTX
what is Typhoon
Jake Pocz
 
ODP
Grade 8 Forces and Motion 2012
duffieldj
 
PDF
Infographic: History of the Atom
E-I-STEAM Project
 
Biology review
Erin Mucci
 
Chapter 1
rhaymoudz
 
The Origin of Modern Astronomy
Saeed Jafari
 
Module in forces and laws of motion
Baste Chan
 
Plate Boundaries, Tectonic Plates & Plate Tectonics
brontegilson
 
Earthquakes and Faults Quiz
Jan Del Rosario
 
Grade 8 science las
SHIELABALINGCOS2
 
Branches of physics
SRLive
 
Science 10: Quarter 1- Plate Tectonics.pptx
AnilynAcostaDizon
 
Law of acceleration
Wyniel Sabanal
 
Law of motion
Elcy lloyd Cariño
 
Factors Affecting the Climate (Latitude and Altitude)
MissyBalbin
 
Plate Tectonics
dluetgens
 
Weather and Climate
Johnel Esponilla
 
The History of Astronomy
06426345
 
Gepgraphy M1 Introducing Plate Tectonics
eLearningJa
 
what is Typhoon
Jake Pocz
 
Grade 8 Forces and Motion 2012
duffieldj
 
Infographic: History of the Atom
E-I-STEAM Project
 
Ad

Similar to INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC (20)

PPTX
Search in Algorithm in artificial intelligence
karimibaryal1996
 
PPTX
Aritificial Intelligence Search Techniques Unit 1
lavanyachinta5
 
PPTX
Unit-III-AI Search Techniques and solution's
Harsha Patil
 
PPTX
UNIT II ARTIFICIQL INTELLIGENCE SEARCH STRATEGIES OSMANIA UNIVERSITY
PriyankaSeelaboyina
 
PPTX
Unit-2 for AIML including type of searches
SaranshGupta923104
 
PDF
Presentation on the artificial intelligenc
PriyadharshiniG41
 
PPTX
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
RaviKiranVarma4
 
PPTX
Searching is the universal technique of problem solving in Artificial Intelli...
KarpagaPriya10
 
PPTX
AI_03_Solving Problems by Searching.pptx
Yousef Aburawi
 
PPTX
Lecture # 02-Search Algorithms11111.pptx
TheSmartSolverAcadem
 
PPTX
AI(Module1).pptx
AnkitaVerma776806
 
PPTX
CSA 2001 (Module-2).pptx
PranjalKhare13
 
PPT
Unit 2 Topic 2 Uniformed search strategies.ppt
ssuser470a6d1
 
PPTX
CHAPTER 5.pptx of the following of our discussion
BifaHirpo1
 
PPT
Ch4: Searching Techniques 6_2018_12_25!05_35_25_PM.ppt
Sasal6
 
PPTX
AI_Session 4 Uniformed search strategies.pptx
Guru Nanak Technical Institutions
 
PPT
AI Lecture 3 (solving problems by searching)
Tajim Md. Niamat Ullah Akhund
 
PPTX
NEW-II.pptx
jpradha86
 
PPTX
Artificial Intelligence Problem Slaving PPT
vipulkondekar
 
Search in Algorithm in artificial intelligence
karimibaryal1996
 
Aritificial Intelligence Search Techniques Unit 1
lavanyachinta5
 
Unit-III-AI Search Techniques and solution's
Harsha Patil
 
UNIT II ARTIFICIQL INTELLIGENCE SEARCH STRATEGIES OSMANIA UNIVERSITY
PriyankaSeelaboyina
 
Unit-2 for AIML including type of searches
SaranshGupta923104
 
Presentation on the artificial intelligenc
PriyadharshiniG41
 
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
RaviKiranVarma4
 
Searching is the universal technique of problem solving in Artificial Intelli...
KarpagaPriya10
 
AI_03_Solving Problems by Searching.pptx
Yousef Aburawi
 
Lecture # 02-Search Algorithms11111.pptx
TheSmartSolverAcadem
 
AI(Module1).pptx
AnkitaVerma776806
 
CSA 2001 (Module-2).pptx
PranjalKhare13
 
Unit 2 Topic 2 Uniformed search strategies.ppt
ssuser470a6d1
 
CHAPTER 5.pptx of the following of our discussion
BifaHirpo1
 
Ch4: Searching Techniques 6_2018_12_25!05_35_25_PM.ppt
Sasal6
 
AI_Session 4 Uniformed search strategies.pptx
Guru Nanak Technical Institutions
 
AI Lecture 3 (solving problems by searching)
Tajim Md. Niamat Ullah Akhund
 
NEW-II.pptx
jpradha86
 
Artificial Intelligence Problem Slaving PPT
vipulkondekar
 
Ad

More from GOKULKANNANMMECLECTC (6)

PDF
GAME THEORY AND MONTE CARLO SEARCH SPACE TREE
GOKULKANNANMMECLECTC
 
PPTX
tcpflowcontrolanurag-150513130509-lva1-app6892 (1).pptx
GOKULKANNANMMECLECTC
 
PPT
Tcp congestion control topic in high speed network
GOKULKANNANMMECLECTC
 
PPT
KandR_TCP (1).ppt notes for congestion control
GOKULKANNANMMECLECTC
 
PDF
INTRODUCTION TO C PROGRAMMING in basic c language
GOKULKANNANMMECLECTC
 
PDF
Arrays and function basic c programming notes
GOKULKANNANMMECLECTC
 
GAME THEORY AND MONTE CARLO SEARCH SPACE TREE
GOKULKANNANMMECLECTC
 
tcpflowcontrolanurag-150513130509-lva1-app6892 (1).pptx
GOKULKANNANMMECLECTC
 
Tcp congestion control topic in high speed network
GOKULKANNANMMECLECTC
 
KandR_TCP (1).ppt notes for congestion control
GOKULKANNANMMECLECTC
 
INTRODUCTION TO C PROGRAMMING in basic c language
GOKULKANNANMMECLECTC
 
Arrays and function basic c programming notes
GOKULKANNANMMECLECTC
 

Recently uploaded (20)

PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PDF
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
dse_final_merit_2025_26 gtgfffffcjjjuuyy
rushabhjain127
 
PPT
SCOPE_~1- technology of green house and poyhouse
bala464780
 
PDF
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
PDF
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PDF
Introduction to Data Science: data science process
ShivarkarSandip
 
PPT
Ppt for engineering students application on field effect
lakshmi.ec
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPT
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
JUAL EFIX C5 IMU GNSS GEODETIC PERFECT BASE OR ROVER
Budi Minds
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
dse_final_merit_2025_26 gtgfffffcjjjuuyy
rushabhjain127
 
SCOPE_~1- technology of green house and poyhouse
bala464780
 
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
Introduction to Data Science: data science process
ShivarkarSandip
 
Ppt for engineering students application on field effect
lakshmi.ec
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
JUAL EFIX C5 IMU GNSS GEODETIC PERFECT BASE OR ROVER
Budi Minds
 
Information Retrieval and Extraction - Module 7
premSankar19
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 

INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC

  • 2.  Rational agents or Problem-solving agents in AI mostly used these search strategies or algorithms to solve a specific problem and provide the best result.  Problem-solving agents are the goal-based agents and use atomic representation.
  • 3.  Search: Searching is a step by step procedure to solve a search-problem in a given search space. A search problem can have three main factors: ◦ Search Space: Search space represents a set of possible solutions, which a system may have. ◦ Start State: It is a state from where agent begins the search. ◦ Goal test: It is a function which observe the current state and returns whether the goal state is achieved or not.
  • 4.  Search tree: A tree representation of search problem is called Search tree. The root of the search tree is the root node which is corresponding to the initial state.  Actions: It gives the description of all the available actions to the agent.  Transition model: A description of what each action do, can be represented as a transition model.  Path Cost: It is a function which assigns a numeric cost to each path.  Solution: It is an action sequence which leads from the start node to the goal node.  Optimal Solution: If a solution has the lowest cost among all solutions.
  • 5. Four essential properties of search algorithms to compare the efficiency of these algorithms:  Completeness: A search algorithm is said to be complete if it guarantees to return a solution if at least any solution exists for any random input.  Time Complexity: Time complexity is a measure of time for an algorithm to complete its task.
  • 6.  Optimality: If a solution found for an algorithm is guaranteed to be the best solution (lowest path cost) among all other solutions, then such a solution for is said to be an optimal solution.  Space Complexity: It is the maximum storage space required at any point during the search, as the complexity of the problem.
  • 7.  Based on the search problems we can classify the search algorithms into 1. uninformed (Blind search) search and 2. informed search (Heuristic search) algorithms.
  • 9.  does not contain any domain knowledge such as closeness, the location of the goal.  operates in a brute-force way as it only includes information about how to traverse the tree and how to identify leaf and goal nodes.  Uninformed search applies a way in which search tree is searched without any information about the search space like initial state operators and test for the goal, so it is also called blind search.  It examines each node of the tree until it achieves the
  • 10.  Informed search algorithms use domain knowledge.  Informed search strategies can find a solution more efficiently than an uninformed search strategy.  Informed search is also called a Heuristic search.  A heuristic is a way which might not always be guaranteed for best solutions but guaranteed to find a good solution in reasonable time.  Informed search can solve much complex problem which could not be solved in another way.
  • 11.  Breadth-first search is the most common search strategy for traversing a tree or graph. This algorithm searches breadthwise in a tree or graph, so it is called breadth-first search.  BFS algorithm starts searching from the root node of the tree and expands all successor node at the current level before moving to nodes of next level.  Breadth-first search implemented using FIFO queue data structure.
  • 12.  BFS will provide a solution if any solution exists.  If there are more than one solutions for a given problem, then BFS will provide the minimal solution which requires the least number of steps.
  • 13.  BFS algorithm from the root node S to goal node K.
  • 14.  It starts from the root node and follows each path to its greatest depth node before moving to the next path.  DFS uses a stack data structure for its implementation.  The process of the DFS algorithm is similar to the BFS algorithm. Advantage:  requires very less memory  takes less time to reach to the goal node than BFS algorithm (if it traverses in the right path).
  • 15.  Root node--->Left node ----> right node.
  • 16.  A depth-limited search algorithm is similar to depth- first search with a predetermined limit.  Depth-limited search can solve the drawback of the infinite path in the Depth-first search.  In this algorithm, the node at the depth limit will treat as it has no successor nodes further.  (It may not be optimal if the problem has more than one solution.) incompleteness
  • 18.  used for traversing a weighted tree or graph.  This algorithm comes into play when a different cost is available for each edge.  is implemented by the priority queue.  It gives maximum priority to the lowest cumulative cost.  Uniform cost search is equivalent to BFS algorithm if the path cost of all edges is the same.
  • 19.  does not care about the number of steps involve in searching
  • 20.  The iterative deepening algorithm is a combination of DFS and BFS algorithms.  finds out the best depth limit and does it by gradually increasing the limit until a goal is found.  The iterative search algorithm is useful uninformed search when search space is large, and depth of goal node is unknown.
  • 22.  1'st Iteration-----> A 2'nd Iteration----> A, B, C 3'rd Iteration------>A, B, D, E, C, F, G 4'th Iteration------>A, B, D, H, I, E, C, F, K, G In the fourth iteration, the algorithm will find the goal node.
  • 23.  Bidirectional search algorithm runs two simultaneous searches, one form initial state called as forward-search and other from goal node called as backward-search, to find the goal node.  Bidirectional search replaces one single search graph with two small subgraphs in which one starts the search from an initial vertex and other starts from goal vertex. The search stops when these two graphs intersect each other.  Bidirectional search can use search techniques such as BFS, DFS, DLS, etc.
  • 24.  Implementation of the bidirectional search tree is difficult.