SlideShare a Scribd company logo
4
DEFINaTION
 AND/OR graph
AND-OR graph is useful for representing the
solution of problems that can be solved by
decomposing them into a set of smaller problems,
all of which must then be solved.
G=value
H’=whatever it is
F’=h’ or h’+o or h’+g
Most read
7
AND/OR graph diagram-
Step-1
Step-2
A-B-C
A-C-D
Most read
11
AO* Algorithm
 AO* algorithm is a type of heuristic search algorithm is used
when problem can be divided into sub parts & which can be
combined AO* in artificial intelligence is represented using
& OR-AND graph.
 Keywords:-
 GRAPH
 INIT
 SOLVED (S)
 NODE
 FUTILITY
 SUCCESSOR
 CURRENT (C)
Most read
MANDSAUR UNIVERCITY
MANDSAUR
Department of computer Application
MCA-II Year(iv sem)
SBMITED BY-
arun singh
Topic-
Problem reducing using AND-OR graph &
AO* algorithem
CONTAINT
* Defination of AND/OR graph
*AND/OR Graph Algorithm
* AND/OR searching
*AO* Algorithem
DEFINaTION
 AND/OR graph
AND-OR graph is useful for representing the
solution of problems that can be solved by
decomposing them into a set of smaller problems,
all of which must then be solved.
G=value
H’=whatever it is
F’=h’ or h’+o or h’+g
AND/OR GRAPH Algorithm:-
1. Initialiize the graph to the starting
node.
2. Loop until the starting node is
labeled solved or until its cost goes
above FUTILIIY.
A.Traverse the graph & set the nodes
that are on the path & have not yet
been expanded & labeled as solved.
B.Pick one of these unexpanded nodes &
axpand it. Of there are no successor assign
FUTTILITY us the value of this node other
vise, add it successor each of them compute f’
value (use only h’ and ignore g).
C.Change the f’ estimate of the newly
expanded nod to reflect the new information
provided by its successor.
AND/OR graph diagram-
Step-1
Step-2
A-B-C
A-C-D
Step-3
Step-4
Step-5
Unsolvable
The longer path may be better
AO* Algorithm
 AO* algorithm is a type of heuristic search algorithm is used
when problem can be divided into sub parts & which can be
combined AO* in artificial intelligence is represented using
& OR-AND graph.
 Keywords:-
 GRAPH
 INIT
 SOLVED (S)
 NODE
 FUTILITY
 SUCCESSOR
 CURRENT (C)
Prominent graph:-
A-C-E-B-A
Algorithm:-
1. Let GRAPH consist only of the NODE representing
the initial state & compute h’(INIT).
2. Until INIT is labeled SOLVED or until INIT’S h’
value becomes greater than FUTILITY repeat the
following procedure :-
A. Trace the labeled are fram INIT at select for
expantion and call the selected Node.
B. Genaret the successor of node if there are none then
assign the FUTTILITY as the h’ value of node. Not
soleved if there are successor. But not for each one
of the successor. But not also and ancestor of node
do the following:-
 i.)at successor to the graph.
 ii.) if successor is a terminate node label it solve and
assign it n h’ value of o.
 Iii.) if successor is not a terminal node compute in h’
value.
C propagate the newly decision information by the
following : Let s be a set of node that have been
labeled saved.whode h’ value has been changed and so
need to have a voice propagate back to when it. until
as is empty do the following steps:-
 i) select from s a node name of whose desent in Graph
accures. Select any node from s call this node to CURRENT
and remove from S.
 ii) compute the cast of each of the arc in margin of
CURRENT assign new h’ value the minimum of the cost
just compute for the arcs margin for it.
 iii) mark the best path out of CURRENT by making the arc
that had the minimum cost as computed in the previse state.
 iv) mark CURRENT solved if as the nodes connected to it
through the new labeled are have been labeled saved.
 V) If has been CURRENT label solved of if the cost of
current was just change then its new states must be
propagated backup the graph on the insisters of current to S.

Problem reduction AND OR GRAPH & AO* algorithm.ppt
Problem reduction AND OR GRAPH & AO* algorithm.ppt
Problem reduction AND OR GRAPH & AO* algorithm.ppt
Problem reduction AND OR GRAPH & AO* algorithm.ppt
THANK YOU

More Related Content

What's hot (20)

A* Algorithm
A* AlgorithmA* Algorithm
A* Algorithm
Dr. C.V. Suresh Babu
 
I.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AII.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AI
vikas dhakane
 
AI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction ProblemAI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction Problem
Mohammad Imam Hossain
 
Problem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptxProblem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptx
kitsenthilkumarcse
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithm
ami_01
 
Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
Gunjan Chhabra
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
DigiGurukul
 
Introduction to Dynamic Programming, Principle of Optimality
Introduction to Dynamic Programming, Principle of OptimalityIntroduction to Dynamic Programming, Principle of Optimality
Introduction to Dynamic Programming, Principle of Optimality
Bhavin Darji
 
Greedy Algorihm
Greedy AlgorihmGreedy Algorihm
Greedy Algorihm
Muhammad Amjad Rana
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
Sukrit Gupta
 
Artificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe gameArtificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe game
manika kumari
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
Ratnakar Mikkili
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
Megha Sharma
 
SINGLE-SOURCE SHORTEST PATHS
SINGLE-SOURCE SHORTEST PATHS SINGLE-SOURCE SHORTEST PATHS
SINGLE-SOURCE SHORTEST PATHS
Md. Shafiuzzaman Hira
 
Unit3:Informed and Uninformed search
Unit3:Informed and Uninformed searchUnit3:Informed and Uninformed search
Unit3:Informed and Uninformed search
Tekendra Nath Yogi
 
AI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptx
Guru Nanak Technical Institutions
 
State space search
State space searchState space search
State space search
chauhankapil
 
Breadth First Search & Depth First Search
Breadth First Search & Depth First SearchBreadth First Search & Depth First Search
Breadth First Search & Depth First Search
Kevin Jadiya
 
5 csp
5 csp5 csp
5 csp
Mhd Sb
 
Problems, Problem spaces and Search
Problems, Problem spaces and SearchProblems, Problem spaces and Search
Problems, Problem spaces and Search
BMS Institute of Technology and Management
 
I.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AII.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AI
vikas dhakane
 
AI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction ProblemAI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction Problem
Mohammad Imam Hossain
 
Problem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptxProblem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptx
kitsenthilkumarcse
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithm
ami_01
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
DigiGurukul
 
Introduction to Dynamic Programming, Principle of Optimality
Introduction to Dynamic Programming, Principle of OptimalityIntroduction to Dynamic Programming, Principle of Optimality
Introduction to Dynamic Programming, Principle of Optimality
Bhavin Darji
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
Sukrit Gupta
 
Artificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe gameArtificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe game
manika kumari
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
Ratnakar Mikkili
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
Megha Sharma
 
Unit3:Informed and Uninformed search
Unit3:Informed and Uninformed searchUnit3:Informed and Uninformed search
Unit3:Informed and Uninformed search
Tekendra Nath Yogi
 
State space search
State space searchState space search
State space search
chauhankapil
 
Breadth First Search & Depth First Search
Breadth First Search & Depth First SearchBreadth First Search & Depth First Search
Breadth First Search & Depth First Search
Kevin Jadiya
 

Similar to Problem reduction AND OR GRAPH & AO* algorithm.ppt (20)

5.problem reduction in artificial intelligence.pptx
5.problem reduction in artificial intelligence.pptx5.problem reduction in artificial intelligence.pptx
5.problem reduction in artificial intelligence.pptx
VINAYTANDAVYALLAMILL
 
Unit 3 Informed Search Strategies.pptx
Unit  3 Informed Search Strategies.pptxUnit  3 Informed Search Strategies.pptx
Unit 3 Informed Search Strategies.pptx
DrYogeshDeshmukh1
 
Ai4 heuristic2
Ai4 heuristic2Ai4 heuristic2
Ai4 heuristic2
Mohammad Faizan
 
HEURISTIC SEARCH and other technique.pptx
HEURISTIC SEARCH and other technique.pptxHEURISTIC SEARCH and other technique.pptx
HEURISTIC SEARCH and other technique.pptx
rakeshkumar12020604
 
AO Star Algorithm in Artificial Intellligence
AO Star Algorithm in Artificial IntellligenceAO Star Algorithm in Artificial Intellligence
AO Star Algorithm in Artificial Intellligence
vipulkondekar
 
R01741124127
R01741124127R01741124127
R01741124127
IOSR Journals
 
lec4.pdf
lec4.pdflec4.pdf
lec4.pdf
HimanshuSharma620840
 
Unit 2 Topic 4 Informed search strategies AO.ppt
Unit 2 Topic 4 Informed search strategies AO.pptUnit 2 Topic 4 Informed search strategies AO.ppt
Unit 2 Topic 4 Informed search strategies AO.ppt
ssuser470a6d1
 
AI BEST FIRST,A-STAR,AO-STAR SEARCH.pptx
AI BEST FIRST,A-STAR,AO-STAR SEARCH.pptxAI BEST FIRST,A-STAR,AO-STAR SEARCH.pptx
AI BEST FIRST,A-STAR,AO-STAR SEARCH.pptx
KALPANAC20
 
AO star algorithm -Adv-Ltms-comp AI.pptx
AO star algorithm -Adv-Ltms-comp AI.pptxAO star algorithm -Adv-Ltms-comp AI.pptx
AO star algorithm -Adv-Ltms-comp AI.pptx
karthikaparthasarath
 
heuristic technique.pptx...............................
heuristic technique.pptx...............................heuristic technique.pptx...............................
heuristic technique.pptx...............................
gursharansinghmavi20
 
Feedback Vertex Set
Feedback Vertex SetFeedback Vertex Set
Feedback Vertex Set
Mag-Stellon Nadarajah
 
informed search.pptx
informed search.pptxinformed search.pptx
informed search.pptx
SoundariyaSathish
 
Adsa u2 ver 1.0.
Adsa u2 ver 1.0.Adsa u2 ver 1.0.
Adsa u2 ver 1.0.
Dr. C.V. Suresh Babu
 
AO Star algorithm Artificial Intelligence
AO Star algorithm Artificial IntelligenceAO Star algorithm Artificial Intelligence
AO Star algorithm Artificial Intelligence
vishnupriya300566
 
And or graph problem reduction using predicate logic
And or graph problem reduction using predicate logicAnd or graph problem reduction using predicate logic
And or graph problem reduction using predicate logic
Mohanlal Sukhadia University (MLSU)
 
ARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTES
ARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTESARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTES
ARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTES
FIONACHATOLA
 
A* Search Algorithm
A* Search AlgorithmA* Search Algorithm
A* Search Algorithm
vikas dhakane
 
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdfAI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
Guru Nanak Technical Institutions
 
unit-1-l3AI..........................ppt
unit-1-l3AI..........................pptunit-1-l3AI..........................ppt
unit-1-l3AI..........................ppt
ShilpaBhatia32
 
5.problem reduction in artificial intelligence.pptx
5.problem reduction in artificial intelligence.pptx5.problem reduction in artificial intelligence.pptx
5.problem reduction in artificial intelligence.pptx
VINAYTANDAVYALLAMILL
 
Unit 3 Informed Search Strategies.pptx
Unit  3 Informed Search Strategies.pptxUnit  3 Informed Search Strategies.pptx
Unit 3 Informed Search Strategies.pptx
DrYogeshDeshmukh1
 
HEURISTIC SEARCH and other technique.pptx
HEURISTIC SEARCH and other technique.pptxHEURISTIC SEARCH and other technique.pptx
HEURISTIC SEARCH and other technique.pptx
rakeshkumar12020604
 
AO Star Algorithm in Artificial Intellligence
AO Star Algorithm in Artificial IntellligenceAO Star Algorithm in Artificial Intellligence
AO Star Algorithm in Artificial Intellligence
vipulkondekar
 
Unit 2 Topic 4 Informed search strategies AO.ppt
Unit 2 Topic 4 Informed search strategies AO.pptUnit 2 Topic 4 Informed search strategies AO.ppt
Unit 2 Topic 4 Informed search strategies AO.ppt
ssuser470a6d1
 
AI BEST FIRST,A-STAR,AO-STAR SEARCH.pptx
AI BEST FIRST,A-STAR,AO-STAR SEARCH.pptxAI BEST FIRST,A-STAR,AO-STAR SEARCH.pptx
AI BEST FIRST,A-STAR,AO-STAR SEARCH.pptx
KALPANAC20
 
AO star algorithm -Adv-Ltms-comp AI.pptx
AO star algorithm -Adv-Ltms-comp AI.pptxAO star algorithm -Adv-Ltms-comp AI.pptx
AO star algorithm -Adv-Ltms-comp AI.pptx
karthikaparthasarath
 
heuristic technique.pptx...............................
heuristic technique.pptx...............................heuristic technique.pptx...............................
heuristic technique.pptx...............................
gursharansinghmavi20
 
AO Star algorithm Artificial Intelligence
AO Star algorithm Artificial IntelligenceAO Star algorithm Artificial Intelligence
AO Star algorithm Artificial Intelligence
vishnupriya300566
 
ARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTES
ARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTESARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTES
ARTIFICAIL INTELLIGENCE AO ALGORITHMS NOTES
FIONACHATOLA
 
unit-1-l3AI..........................ppt
unit-1-l3AI..........................pptunit-1-l3AI..........................ppt
unit-1-l3AI..........................ppt
ShilpaBhatia32
 
Ad

Recently uploaded (17)

HPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptxHPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptx
naziaahmadnm
 
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
Reversed Out Creative
 
How to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real TalkHow to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real Talk
Cam Sites Expert
 
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptxTransport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
ssuser80a7e81
 
ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676
areebaimtiazpmas
 
Presentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIKPresentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIK
SELMA SALTIK
 
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AIAI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
skdav34
 
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your BusinessCloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
DanaJohnson510230
 
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
Taqyea
 
Networking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptxNetworking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptx
elestirmen
 
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdfEssential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
CartCoders
 
OSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptxOSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptx
faizanaseem873
 
10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx
EphraimOOghodero
 
Networking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspectsNetworking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspects
amansinght675
 
basic to advance network security concepts
basic to advance network security conceptsbasic to advance network security concepts
basic to advance network security concepts
amansinght675
 
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdfFrontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Internet Bundle Now
 
all Practical Project LAST summary note.docx
all Practical Project LAST summary note.docxall Practical Project LAST summary note.docx
all Practical Project LAST summary note.docx
seidjemal94
 
HPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptxHPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptx
naziaahmadnm
 
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
Reversed Out Creative
 
How to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real TalkHow to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real Talk
Cam Sites Expert
 
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptxTransport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
ssuser80a7e81
 
ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676
areebaimtiazpmas
 
Presentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIKPresentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIK
SELMA SALTIK
 
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AIAI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
skdav34
 
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your BusinessCloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
DanaJohnson510230
 
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
Taqyea
 
Networking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptxNetworking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptx
elestirmen
 
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdfEssential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
CartCoders
 
OSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptxOSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptx
faizanaseem873
 
10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx
EphraimOOghodero
 
Networking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspectsNetworking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspects
amansinght675
 
basic to advance network security concepts
basic to advance network security conceptsbasic to advance network security concepts
basic to advance network security concepts
amansinght675
 
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdfFrontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Internet Bundle Now
 
all Practical Project LAST summary note.docx
all Practical Project LAST summary note.docxall Practical Project LAST summary note.docx
all Practical Project LAST summary note.docx
seidjemal94
 
Ad

Problem reduction AND OR GRAPH & AO* algorithm.ppt

  • 1. MANDSAUR UNIVERCITY MANDSAUR Department of computer Application MCA-II Year(iv sem) SBMITED BY- arun singh
  • 2. Topic- Problem reducing using AND-OR graph & AO* algorithem
  • 3. CONTAINT * Defination of AND/OR graph *AND/OR Graph Algorithm * AND/OR searching *AO* Algorithem
  • 4. DEFINaTION  AND/OR graph AND-OR graph is useful for representing the solution of problems that can be solved by decomposing them into a set of smaller problems, all of which must then be solved. G=value H’=whatever it is F’=h’ or h’+o or h’+g
  • 5. AND/OR GRAPH Algorithm:- 1. Initialiize the graph to the starting node. 2. Loop until the starting node is labeled solved or until its cost goes above FUTILIIY. A.Traverse the graph & set the nodes that are on the path & have not yet been expanded & labeled as solved.
  • 6. B.Pick one of these unexpanded nodes & axpand it. Of there are no successor assign FUTTILITY us the value of this node other vise, add it successor each of them compute f’ value (use only h’ and ignore g). C.Change the f’ estimate of the newly expanded nod to reflect the new information provided by its successor.
  • 11. AO* Algorithm  AO* algorithm is a type of heuristic search algorithm is used when problem can be divided into sub parts & which can be combined AO* in artificial intelligence is represented using & OR-AND graph.  Keywords:-  GRAPH  INIT  SOLVED (S)  NODE  FUTILITY  SUCCESSOR  CURRENT (C)
  • 13. Algorithm:- 1. Let GRAPH consist only of the NODE representing the initial state & compute h’(INIT). 2. Until INIT is labeled SOLVED or until INIT’S h’ value becomes greater than FUTILITY repeat the following procedure :- A. Trace the labeled are fram INIT at select for expantion and call the selected Node. B. Genaret the successor of node if there are none then assign the FUTTILITY as the h’ value of node. Not soleved if there are successor. But not for each one of the successor. But not also and ancestor of node do the following:-
  • 14.  i.)at successor to the graph.  ii.) if successor is a terminate node label it solve and assign it n h’ value of o.  Iii.) if successor is not a terminal node compute in h’ value. C propagate the newly decision information by the following : Let s be a set of node that have been labeled saved.whode h’ value has been changed and so need to have a voice propagate back to when it. until as is empty do the following steps:-
  • 15.  i) select from s a node name of whose desent in Graph accures. Select any node from s call this node to CURRENT and remove from S.  ii) compute the cast of each of the arc in margin of CURRENT assign new h’ value the minimum of the cost just compute for the arcs margin for it.  iii) mark the best path out of CURRENT by making the arc that had the minimum cost as computed in the previse state.  iv) mark CURRENT solved if as the nodes connected to it through the new labeled are have been labeled saved.  V) If has been CURRENT label solved of if the cost of current was just change then its new states must be propagated backup the graph on the insisters of current to S. 