Problem reduction AND OR GRAPH & AO* algorithm.ppt

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
1 de 20

Recomendados

I. AO* SEARCH ALGORITHM por
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMvikas dhakane
9.4K visualizações11 slides
5 csp por
5 csp5 csp
5 cspMhd Sb
16.1K visualizações61 slides
And or graph por
And or graphAnd or graph
And or graphAli A Jalil
4.9K visualizações5 slides
Lecture 21 problem reduction search ao star search por
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchHema Kashyap
14.1K visualizações16 slides
Issues in knowledge representation por
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representationSravanthi Emani
60K visualizações11 slides
Heuristic Search Techniques {Artificial Intelligence} por
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}FellowBuddy.com
32.6K visualizações22 slides

Mais conteúdo relacionado

Mais procurados

Recognition-of-tokens por
Recognition-of-tokensRecognition-of-tokens
Recognition-of-tokensDattatray Gandhmal
33.5K visualizações25 slides
Hill climbing por
Hill climbingHill climbing
Hill climbingMohammad Faizan
67.9K visualizações49 slides
Semantic nets in artificial intelligence por
Semantic nets in artificial intelligenceSemantic nets in artificial intelligence
Semantic nets in artificial intelligenceharshita virwani
28.6K visualizações22 slides
15 puzzle problem using branch and bound por
15 puzzle problem using branch and bound15 puzzle problem using branch and bound
15 puzzle problem using branch and boundAbhishek Singh
26.1K visualizações8 slides
0 1 knapsack using branch and bound por
0 1 knapsack using branch and bound0 1 knapsack using branch and bound
0 1 knapsack using branch and boundAbhishek Singh
24.6K visualizações22 slides
Ontology engineering por
Ontology engineering Ontology engineering
Ontology engineering Aliabbas Petiwala
16.8K visualizações49 slides

Mais procurados(20)

Recognition-of-tokens por Dattatray Gandhmal
Recognition-of-tokensRecognition-of-tokens
Recognition-of-tokens
Dattatray Gandhmal33.5K visualizações
Hill climbing por Mohammad Faizan
Hill climbingHill climbing
Hill climbing
Mohammad Faizan67.9K visualizações
Semantic nets in artificial intelligence por harshita virwani
Semantic nets in artificial intelligenceSemantic nets in artificial intelligence
Semantic nets in artificial intelligence
harshita virwani28.6K visualizações
15 puzzle problem using branch and bound por Abhishek Singh
15 puzzle problem using branch and bound15 puzzle problem using branch and bound
15 puzzle problem using branch and bound
Abhishek Singh26.1K visualizações
0 1 knapsack using branch and bound por Abhishek Singh
0 1 knapsack using branch and bound0 1 knapsack using branch and bound
0 1 knapsack using branch and bound
Abhishek Singh24.6K visualizações
Ontology engineering por Aliabbas Petiwala
Ontology engineering Ontology engineering
Ontology engineering
Aliabbas Petiwala16.8K visualizações
Lecture 16 memory bounded search por Hema Kashyap
Lecture 16 memory bounded searchLecture 16 memory bounded search
Lecture 16 memory bounded search
Hema Kashyap6.4K visualizações
Specification-of-tokens por Dattatray Gandhmal
Specification-of-tokensSpecification-of-tokens
Specification-of-tokens
Dattatray Gandhmal22.8K visualizações
Ll(1) Parser in Compilers por Mahbubur Rahman
Ll(1) Parser in CompilersLl(1) Parser in Compilers
Ll(1) Parser in Compilers
Mahbubur Rahman21.7K visualizações
State Space Representation and Search por Hitesh Mohapatra
State Space Representation and SearchState Space Representation and Search
State Space Representation and Search
Hitesh Mohapatra31.7K visualizações
AI: AI & Problem Solving por DataminingTools Inc
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
DataminingTools Inc36.4K visualizações
Backtracking por subhradeep mitra
BacktrackingBacktracking
Backtracking
subhradeep mitra44.7K visualizações
Artificial Intelligence -- Search Algorithms por Syed Ahmed
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms
Syed Ahmed4.3K visualizações
8 queens problem using back tracking por Tech_MX
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
Tech_MX189.2K visualizações
knowledge representation using rules por Harini Balamurugan
knowledge representation using rulesknowledge representation using rules
knowledge representation using rules
Harini Balamurugan17.6K visualizações
Adversarial search por Nilu Desai
Adversarial searchAdversarial search
Adversarial search
Nilu Desai4.2K visualizações
Matching techniques por Nagpalkirti
Matching techniquesMatching techniques
Matching techniques
Nagpalkirti3.4K visualizações
Turing Machine por Rajendran
Turing MachineTuring Machine
Turing Machine
Rajendran 17.5K visualizações
Artificial intelligence- Logic Agents por Nuruzzaman Milon
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic Agents
Nuruzzaman Milon20K visualizações

Similar a Problem reduction AND OR GRAPH & AO* algorithm.ppt

Unit 3 Informed Search Strategies.pptx por
Unit  3 Informed Search Strategies.pptxUnit  3 Informed Search Strategies.pptx
Unit 3 Informed Search Strategies.pptxDrYogeshDeshmukh1
11 visualizações42 slides
Game Paper por
Game PaperGame Paper
Game PaperSiddharth Gupta
415 visualizações9 slides
IRJET- Artificial Algorithms Comparative Study por
IRJET-  	  Artificial Algorithms Comparative StudyIRJET-  	  Artificial Algorithms Comparative Study
IRJET- Artificial Algorithms Comparative StudyIRJET Journal
16 visualizações6 slides
Tao Fayan_Iso and Full_volume rendering por
Tao Fayan_Iso and Full_volume renderingTao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume renderingFayan TAO
321 visualizações16 slides
Barcode reader por
Barcode readerBarcode reader
Barcode readerWuhan University
1.4K visualizações16 slides
can you please complete this code from queue import PriorityQueue from.docx por
can you please complete this code from queue import PriorityQueue from.docxcan you please complete this code from queue import PriorityQueue from.docx
can you please complete this code from queue import PriorityQueue from.docxCharlesCSZWhitei
15 visualizações4 slides

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

Unit 3 Informed Search Strategies.pptx por DrYogeshDeshmukh1
Unit  3 Informed Search Strategies.pptxUnit  3 Informed Search Strategies.pptx
Unit 3 Informed Search Strategies.pptx
DrYogeshDeshmukh111 visualizações
Game Paper por Siddharth Gupta
Game PaperGame Paper
Game Paper
Siddharth Gupta415 visualizações
IRJET- Artificial Algorithms Comparative Study por IRJET Journal
IRJET-  	  Artificial Algorithms Comparative StudyIRJET-  	  Artificial Algorithms Comparative Study
IRJET- Artificial Algorithms Comparative Study
IRJET Journal16 visualizações
Tao Fayan_Iso and Full_volume rendering por Fayan TAO
Tao Fayan_Iso and Full_volume renderingTao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume rendering
Fayan TAO321 visualizações
Barcode reader por Wuhan University
Barcode readerBarcode reader
Barcode reader
Wuhan University1.4K visualizações
can you please complete this code from queue import PriorityQueue from.docx por CharlesCSZWhitei
can you please complete this code from queue import PriorityQueue from.docxcan you please complete this code from queue import PriorityQueue from.docx
can you please complete this code from queue import PriorityQueue from.docx
CharlesCSZWhitei15 visualizações
ACM ICPC 2013 NEERC (Northeastern European Regional Contest) Problems Review por Roman Elizarov
ACM ICPC 2013 NEERC (Northeastern European Regional Contest) Problems ReviewACM ICPC 2013 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2013 NEERC (Northeastern European Regional Contest) Problems Review
Roman Elizarov5.9K visualizações
Analysis of Pathfinding Algorithms por SigSegVSquad
Analysis of Pathfinding AlgorithmsAnalysis of Pathfinding Algorithms
Analysis of Pathfinding Algorithms
SigSegVSquad74 visualizações
A LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEM por Jeff Nelson
A LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEMA LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEM
A LABELING ALGORITHM TO SOLVE THE ASSIGNMENT PROBLEM
Jeff Nelson2 visualizações
A Hybrid Metaheuristic Algorithm To Solve The Capacitated M-Ring Star Problem por Nicole Adams
A Hybrid Metaheuristic Algorithm To Solve The Capacitated M-Ring Star ProblemA Hybrid Metaheuristic Algorithm To Solve The Capacitated M-Ring Star Problem
A Hybrid Metaheuristic Algorithm To Solve The Capacitated M-Ring Star Problem
Nicole Adams3 visualizações
Heuristic Searching: A* Search por IOSR Journals
Heuristic Searching: A* SearchHeuristic Searching: A* Search
Heuristic Searching: A* Search
IOSR Journals608 visualizações
FADML 10 PPC Solving NP-Hard Problems.pdf por Yelah1
FADML 10 PPC Solving NP-Hard Problems.pdfFADML 10 PPC Solving NP-Hard Problems.pdf
FADML 10 PPC Solving NP-Hard Problems.pdf
Yelah15 visualizações
A* algorithm por Komal Samdariya
A* algorithmA* algorithm
A* algorithm
Komal Samdariya634 visualizações
"contour.py" module por Arulalan T
"contour.py" module"contour.py" module
"contour.py" module
Arulalan T962 visualizações
A Proposed Solution To Travelling Salesman Problem Using Branch And Bound por Kelly Lipiec
A Proposed Solution To Travelling Salesman Problem Using Branch And BoundA Proposed Solution To Travelling Salesman Problem Using Branch And Bound
A Proposed Solution To Travelling Salesman Problem Using Branch And Bound
Kelly Lipiec7 visualizações
Branch and bound method por VidhyaSenthil
Branch and bound methodBranch and bound method
Branch and bound method
VidhyaSenthil148 visualizações
Implementation of D* Path Planning Algorithm with NXT LEGO Mindstorms Kit for... por idescitation
Implementation of D* Path Planning Algorithm with NXT LEGO Mindstorms Kit for...Implementation of D* Path Planning Algorithm with NXT LEGO Mindstorms Kit for...
Implementation of D* Path Planning Algorithm with NXT LEGO Mindstorms Kit for...
idescitation1.8K visualizações

Último

PORTFOLIO 1 (Bret Michael Pepito).pdf por
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdfbrejess0410
9 visualizações6 slides
WEB 2.O TOOLS: Empowering education.pptx por
WEB 2.O TOOLS: Empowering education.pptxWEB 2.O TOOLS: Empowering education.pptx
WEB 2.O TOOLS: Empowering education.pptxnarmadhamanohar21
16 visualizações16 slides
How to think like a threat actor for Kubernetes.pptx por
How to think like a threat actor for Kubernetes.pptxHow to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptxLibbySchulze1
5 visualizações33 slides
The Dark Web : Hidden Services por
The Dark Web : Hidden ServicesThe Dark Web : Hidden Services
The Dark Web : Hidden ServicesAnshu Singh
5 visualizações24 slides
Building trust in our information ecosystem: who do we trust in an emergency por
Building trust in our information ecosystem: who do we trust in an emergencyBuilding trust in our information ecosystem: who do we trust in an emergency
Building trust in our information ecosystem: who do we trust in an emergencyTina Purnat
109 visualizações18 slides
Marketing and Community Building in Web3 por
Marketing and Community Building in Web3Marketing and Community Building in Web3
Marketing and Community Building in Web3Federico Ast
14 visualizações64 slides

Último(10)

PORTFOLIO 1 (Bret Michael Pepito).pdf por brejess0410
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdf
brejess04109 visualizações
WEB 2.O TOOLS: Empowering education.pptx por narmadhamanohar21
WEB 2.O TOOLS: Empowering education.pptxWEB 2.O TOOLS: Empowering education.pptx
WEB 2.O TOOLS: Empowering education.pptx
narmadhamanohar2116 visualizações
How to think like a threat actor for Kubernetes.pptx por LibbySchulze1
How to think like a threat actor for Kubernetes.pptxHow to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptx
LibbySchulze15 visualizações
The Dark Web : Hidden Services por Anshu Singh
The Dark Web : Hidden ServicesThe Dark Web : Hidden Services
The Dark Web : Hidden Services
Anshu Singh5 visualizações
Building trust in our information ecosystem: who do we trust in an emergency por Tina Purnat
Building trust in our information ecosystem: who do we trust in an emergencyBuilding trust in our information ecosystem: who do we trust in an emergency
Building trust in our information ecosystem: who do we trust in an emergency
Tina Purnat109 visualizações
Marketing and Community Building in Web3 por Federico Ast
Marketing and Community Building in Web3Marketing and Community Building in Web3
Marketing and Community Building in Web3
Federico Ast14 visualizações
Affiliate Marketing por Navin Dhanuka
Affiliate MarketingAffiliate Marketing
Affiliate Marketing
Navin Dhanuka17 visualizações
hamro digital logics.pptx por tupeshghimire
hamro digital logics.pptxhamro digital logics.pptx
hamro digital logics.pptx
tupeshghimire9 visualizações
information por khelgishekhar
informationinformation
information
khelgishekhar10 visualizações
IETF 118: Starlink Protocol Performance por APNIC
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol Performance
APNIC394 visualizações

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. 