SlideShare une entreprise Scribd logo
1  sur  14
IT312 : Artificial Intelligence
Sanjivani Rural Education Society’s
Sanjivani College of Engineering, Kopargaon-423603
(An Autonomous Institute Affiliated to Savitribai Phule Pune University, Pune)
NAAC ‘A’ Grade Accredited, ISO 9001:2015 Certified
Department of Information Technology
(UG Course: NBA Accredited)
Dr. Y.S.Deshmukh
Assistant Professor
Artificial Intelligence
Artificial Intelligence – Overview Dr. Y.S.Deshmukh Department of Information Technology
Course Objectives: -
1. To understand the basic principles of Artificial Intelligence
2. To provide an understanding of uninformed search strategies.
3. To provide an understanding of informed search strategies.
4. To study the concepts of Knowledge based system.
5. To learn and understand use of fuzzy logic and neural networks.
6. To learn and understand various application domain of Artificial Intelligence.
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm:
Best-first search is what the AO* algorithm does. The AO*
method divides any given difficult problem into a smaller
group of problems that are then resolved using the AND-
OR graph concept. AND OR graphs are specialized graphs
that are used in problems that can be divided into smaller
problems. The AND side of the graph represents a set of
tasks that must be completed to achieve the main goal,
while the OR side of the graph represents different methods
for accomplishing the same main goal.
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm:
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm:
In the above figure, the buying of a car may be broken down into
smaller problems or tasks that can be accomplished to achieve the
main goal in the above figure, which is an example of a simple AND-
OR graph. The other task is to either steal a car that will help us
accomplish the main goal or use your own money to purchase a car
that will accomplish the main goal. The AND symbol is used to
indicate the AND part of the graphs, which refers to the need that all
subproblems containing the AND to be resolved before the
preceding node or issue may be finished.
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm:
The start state and the target state are already known in the
knowledge-based search strategy known as the AO* algorithm, and
the best path is identified by heuristics. The informed search
technique considerably reduces the algorithm’s time complexity.
The AO* algorithm is far more effective in searching AND-OR
trees than the A* algorithm.
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm:
Working of AO* algorithm:
The evaluation function in AO* looks like this:
f(n) = g(n) + h(n)
f(n) = Actual cost + Estimated cost
here,
f(n) = The actual cost of traversal.
g(n) = the cost from the initial node to the current node.
h(n) = estimated cost from the current node to the goal state.
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm:
Difference between the A* Algorithm and AO* algorithm
A* algorithm and AO* algorithm both works on the best first search.
They are both informed search and works on given heuristics values.
A* always gives the optimal solution but AO* doesn’t guarantee to
give the optimal solution.
Once AO* got a solution doesn’t explore all possible paths but A*
explores all paths.
When compared to the A* algorithm, the AO* algorithm uses less
memory.
opposite to the A* algorithm, the AO* algorithm cannot go into an
endless loop.
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm:Example
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm: Example
Here in the above example below the Node which is given is the heuristic value
i.e h(n). Edge length is considered as 1.
Start from node A,
f(A⇢B) = g(B) + h(B)
= 1 + 5 ……here g(n)=1 is taken by default for path cost
= 6
f(A⇢C+D) = g(c) + h(c) + g(d) + h(d)
=1 + 2 + 1 + 4 ……here we have added C & D because they are in AND
= 8
So, by calculation A⇢B path is chosen which is the minimum path, i.e f(A⇢B)
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm: Example
According to the answer of step 1, explore node B Here the value of E & F are
calculated as follows,
f(B⇢E) = g(e) + h(e)
f(B⇢E) = 1 + 7 = 8
f(B⇢f) = g(f) + h(f)
f(B⇢f) = 1 + 9 = 10
So, by above calculation B⇢E path is chosen which is minimum path, i.e f(B⇢E)
because B's heuristic value is different from its actual value The heuristic is
updated and the minimum cost path is selected. The minimum value in our
situation is 8. Therefore, the heuristic for A must be updated due to the change
in B's heuristic. So we need to calculate it again.
f(A⇢B) = g(B) + updated h(B) = 1 + 8 = 9 We have Updated all values in the
above tree.
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm: Example
Artificial Intelligence
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
AO* algorithm: Example
By comparing f(A⇢B) & f(A⇢C+D) f(A⇢C+D) is shown to be smaller. i.e 8 < 9 Now explore
f(A⇢C+D) So, the current node is C
f(C⇢G) = g(g) + h(g)
f(C⇢G) = 1 + 3 = 4
f(C⇢H+I) = g(h) + h(h) + g(i) + h(i)
f(C⇢H+I) = 1 + 0 + 1 + 0 ……here we have added H & I because they are in AND = 2 f(C⇢H+I)
is selected as the path with the lowest cost and the heuristic is also left unchanged because it
matches the actual cost. Paths H & I are solved because the heuristic for those paths is 0, but
Path A⇢D needs to be calculated because it has an AND. f(D⇢J) = g(j) + h(j) f(D⇢J) = 1 + 0 = 1
the heuristic of node D needs to be updated to 1. f(A⇢C+D) = g(c) + h(c) + g(d) + h(d) = 1 + 2 +
1 + 1 = 5 as we can see that path f(A⇢C+D) is get solved and this tree has become a solved
tree now. In simple words, the main flow of this algorithm is that we have to find firstly level 1st
heuristic value and then level 2nd and after that update the values with going upward means
towards the root node. In the above tree diagram, we have updated all the values.
Artificial Intelligence Laboratory
Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology
Thank You

Contenu connexe

Similaire à AI Overview.pptx

Application of gaussian filter with principal component analysis
Application of gaussian filter with principal component analysisApplication of gaussian filter with principal component analysis
Application of gaussian filter with principal component analysis
IAEME Publication
 

Similaire à AI Overview.pptx (20)

Using A* algorithm to find shortest path in Indoor positioning system
Using A* algorithm to find shortest path in Indoor positioning systemUsing A* algorithm to find shortest path in Indoor positioning system
Using A* algorithm to find shortest path in Indoor positioning system
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 
AI_Session 8 A searching algorithm .pptx
AI_Session 8 A searching algorithm .pptxAI_Session 8 A searching algorithm .pptx
AI_Session 8 A searching algorithm .pptx
 
Heuristic Searching: A* Search
Heuristic Searching: A* SearchHeuristic Searching: A* Search
Heuristic Searching: A* Search
 
A* Search Algorithm
A* Search AlgorithmA* Search Algorithm
A* Search Algorithm
 
Report 02(Binary Search)
Report 02(Binary Search)Report 02(Binary Search)
Report 02(Binary Search)
 
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
AET vs. AED: Unsupervised Representation Learning by Auto-Encoding Transforma...
 
Algorithm Design and Analysis
Algorithm Design and AnalysisAlgorithm Design and Analysis
Algorithm Design and Analysis
 
sheet6.pdf
sheet6.pdfsheet6.pdf
sheet6.pdf
 
doc6.pdf
doc6.pdfdoc6.pdf
doc6.pdf
 
paper6.pdf
paper6.pdfpaper6.pdf
paper6.pdf
 
lecture5.pdf
lecture5.pdflecture5.pdf
lecture5.pdf
 
Slide1
Slide1Slide1
Slide1
 
Ai1.pdf
Ai1.pdfAi1.pdf
Ai1.pdf
 
Algorithm Specification and Data Abstraction
Algorithm Specification and Data Abstraction Algorithm Specification and Data Abstraction
Algorithm Specification and Data Abstraction
 
Searching
SearchingSearching
Searching
 
Cs2251 daa
Cs2251 daaCs2251 daa
Cs2251 daa
 
Algorithms DM
Algorithms DMAlgorithms DM
Algorithms DM
 
V04404131134
V04404131134V04404131134
V04404131134
 
Application of gaussian filter with principal component analysis
Application of gaussian filter with principal component analysisApplication of gaussian filter with principal component analysis
Application of gaussian filter with principal component analysis
 

Plus de DrYogeshDeshmukh1

Plus de DrYogeshDeshmukh1 (13)

Unit No. 1 Introduction to Java.pptx
Unit No. 1 Introduction to Java.pptxUnit No. 1 Introduction to Java.pptx
Unit No. 1 Introduction to Java.pptx
 
Unit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptxUnit No 6 Design Patterns.pptx
Unit No 6 Design Patterns.pptx
 
Unit No 5 Files and Database Connectivity.pptx
Unit No 5 Files and Database Connectivity.pptxUnit No 5 Files and Database Connectivity.pptx
Unit No 5 Files and Database Connectivity.pptx
 
Unit No 4 Exception Handling and Multithreading.pptx
Unit No 4 Exception Handling and Multithreading.pptxUnit No 4 Exception Handling and Multithreading.pptx
Unit No 4 Exception Handling and Multithreading.pptx
 
Unit No 3 Inheritance annd Polymorphism.pptx
Unit No 3 Inheritance annd Polymorphism.pptxUnit No 3 Inheritance annd Polymorphism.pptx
Unit No 3 Inheritance annd Polymorphism.pptx
 
Unit No 2 Objects and Classes.pptx
Unit No 2 Objects and Classes.pptxUnit No 2 Objects and Classes.pptx
Unit No 2 Objects and Classes.pptx
 
Unit 6 Uncertainty.pptx
Unit 6 Uncertainty.pptxUnit 6 Uncertainty.pptx
Unit 6 Uncertainty.pptx
 
Unit 5 Introduction to Planning and ANN.pptx
Unit 5 Introduction to Planning and ANN.pptxUnit 5 Introduction to Planning and ANN.pptx
Unit 5 Introduction to Planning and ANN.pptx
 
Unit 4 Knowledge Representation.pptx
Unit 4 Knowledge Representation.pptxUnit 4 Knowledge Representation.pptx
Unit 4 Knowledge Representation.pptx
 
DAA Unit 1 Part 1.pptx
DAA Unit 1 Part 1.pptxDAA Unit 1 Part 1.pptx
DAA Unit 1 Part 1.pptx
 
Unit 2 Uninformed Search Strategies.pptx
Unit  2 Uninformed Search Strategies.pptxUnit  2 Uninformed Search Strategies.pptx
Unit 2 Uninformed Search Strategies.pptx
 
Unit 1 Fundamentals of Artificial Intelligence-Part II.pptx
Unit 1  Fundamentals of Artificial Intelligence-Part II.pptxUnit 1  Fundamentals of Artificial Intelligence-Part II.pptx
Unit 1 Fundamentals of Artificial Intelligence-Part II.pptx
 
Unit 1 Fundamentals of Artificial Intelligence-Part I.pptx
Unit 1  Fundamentals of Artificial Intelligence-Part I.pptxUnit 1  Fundamentals of Artificial Intelligence-Part I.pptx
Unit 1 Fundamentals of Artificial Intelligence-Part I.pptx
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Dernier (20)

Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 

AI Overview.pptx

  • 1. IT312 : Artificial Intelligence Sanjivani Rural Education Society’s Sanjivani College of Engineering, Kopargaon-423603 (An Autonomous Institute Affiliated to Savitribai Phule Pune University, Pune) NAAC ‘A’ Grade Accredited, ISO 9001:2015 Certified Department of Information Technology (UG Course: NBA Accredited) Dr. Y.S.Deshmukh Assistant Professor
  • 2. Artificial Intelligence Artificial Intelligence – Overview Dr. Y.S.Deshmukh Department of Information Technology Course Objectives: - 1. To understand the basic principles of Artificial Intelligence 2. To provide an understanding of uninformed search strategies. 3. To provide an understanding of informed search strategies. 4. To study the concepts of Knowledge based system. 5. To learn and understand use of fuzzy logic and neural networks. 6. To learn and understand various application domain of Artificial Intelligence.
  • 3. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: Best-first search is what the AO* algorithm does. The AO* method divides any given difficult problem into a smaller group of problems that are then resolved using the AND- OR graph concept. AND OR graphs are specialized graphs that are used in problems that can be divided into smaller problems. The AND side of the graph represents a set of tasks that must be completed to achieve the main goal, while the OR side of the graph represents different methods for accomplishing the same main goal.
  • 4. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm:
  • 5. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: In the above figure, the buying of a car may be broken down into smaller problems or tasks that can be accomplished to achieve the main goal in the above figure, which is an example of a simple AND- OR graph. The other task is to either steal a car that will help us accomplish the main goal or use your own money to purchase a car that will accomplish the main goal. The AND symbol is used to indicate the AND part of the graphs, which refers to the need that all subproblems containing the AND to be resolved before the preceding node or issue may be finished.
  • 6. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: The start state and the target state are already known in the knowledge-based search strategy known as the AO* algorithm, and the best path is identified by heuristics. The informed search technique considerably reduces the algorithm’s time complexity. The AO* algorithm is far more effective in searching AND-OR trees than the A* algorithm.
  • 7. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: Working of AO* algorithm: The evaluation function in AO* looks like this: f(n) = g(n) + h(n) f(n) = Actual cost + Estimated cost here, f(n) = The actual cost of traversal. g(n) = the cost from the initial node to the current node. h(n) = estimated cost from the current node to the goal state.
  • 8. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: Difference between the A* Algorithm and AO* algorithm A* algorithm and AO* algorithm both works on the best first search. They are both informed search and works on given heuristics values. A* always gives the optimal solution but AO* doesn’t guarantee to give the optimal solution. Once AO* got a solution doesn’t explore all possible paths but A* explores all paths. When compared to the A* algorithm, the AO* algorithm uses less memory. opposite to the A* algorithm, the AO* algorithm cannot go into an endless loop.
  • 9. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm:Example
  • 10. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: Example Here in the above example below the Node which is given is the heuristic value i.e h(n). Edge length is considered as 1. Start from node A, f(A⇢B) = g(B) + h(B) = 1 + 5 ……here g(n)=1 is taken by default for path cost = 6 f(A⇢C+D) = g(c) + h(c) + g(d) + h(d) =1 + 2 + 1 + 4 ……here we have added C & D because they are in AND = 8 So, by calculation A⇢B path is chosen which is the minimum path, i.e f(A⇢B)
  • 11. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: Example According to the answer of step 1, explore node B Here the value of E & F are calculated as follows, f(B⇢E) = g(e) + h(e) f(B⇢E) = 1 + 7 = 8 f(B⇢f) = g(f) + h(f) f(B⇢f) = 1 + 9 = 10 So, by above calculation B⇢E path is chosen which is minimum path, i.e f(B⇢E) because B's heuristic value is different from its actual value The heuristic is updated and the minimum cost path is selected. The minimum value in our situation is 8. Therefore, the heuristic for A must be updated due to the change in B's heuristic. So we need to calculate it again. f(A⇢B) = g(B) + updated h(B) = 1 + 8 = 9 We have Updated all values in the above tree.
  • 12. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: Example
  • 13. Artificial Intelligence Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology AO* algorithm: Example By comparing f(A⇢B) & f(A⇢C+D) f(A⇢C+D) is shown to be smaller. i.e 8 < 9 Now explore f(A⇢C+D) So, the current node is C f(C⇢G) = g(g) + h(g) f(C⇢G) = 1 + 3 = 4 f(C⇢H+I) = g(h) + h(h) + g(i) + h(i) f(C⇢H+I) = 1 + 0 + 1 + 0 ……here we have added H & I because they are in AND = 2 f(C⇢H+I) is selected as the path with the lowest cost and the heuristic is also left unchanged because it matches the actual cost. Paths H & I are solved because the heuristic for those paths is 0, but Path A⇢D needs to be calculated because it has an AND. f(D⇢J) = g(j) + h(j) f(D⇢J) = 1 + 0 = 1 the heuristic of node D needs to be updated to 1. f(A⇢C+D) = g(c) + h(c) + g(d) + h(d) = 1 + 2 + 1 + 1 = 5 as we can see that path f(A⇢C+D) is get solved and this tree has become a solved tree now. In simple words, the main flow of this algorithm is that we have to find firstly level 1st heuristic value and then level 2nd and after that update the values with going upward means towards the root node. In the above tree diagram, we have updated all the values.
  • 14. Artificial Intelligence Laboratory Artificial Intelligence Dr. Y.S.Deshmukh Department of Information Technology Thank You