SlideShare a Scribd company logo
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
Ad

More Related Content

What's hot (20)

I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
vikas dhakane
 
And or graph
And or graphAnd or graph
And or graph
Ali A Jalil
 
Heuristc Search Techniques
Heuristc Search TechniquesHeuristc Search Techniques
Heuristc Search Techniques
Jismy .K.Jose
 
I. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithmI. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithm
vikas dhakane
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
FellowBuddy.com
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
Megha Sharma
 
5 csp
5 csp5 csp
5 csp
Mhd Sb
 
Adversarial search
Adversarial searchAdversarial search
Adversarial search
Nilu Desai
 
Lecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithmLecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithm
Hema Kashyap
 
Uninformed search /Blind search in AI
Uninformed search /Blind search in AIUninformed search /Blind search in AI
Uninformed search /Blind search in AI
Kirti Verma
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
Hema Kashyap
 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production system
Hema Kashyap
 
daa-unit-3-greedy method
daa-unit-3-greedy methoddaa-unit-3-greedy method
daa-unit-3-greedy method
hodcsencet
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.ppt
karthikaparthasarath
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search Strategies
Amey Kerkar
 
Artificial Intelligence - Hill climbing.
Artificial Intelligence - Hill climbing.Artificial Intelligence - Hill climbing.
Artificial Intelligence - Hill climbing.
StephenTec
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching Techniques
Dr. C.V. Suresh Babu
 
Greedy Algorihm
Greedy AlgorihmGreedy Algorihm
Greedy Algorihm
Muhammad Amjad Rana
 
State Space Search in ai
State Space Search in aiState Space Search in ai
State Space Search in ai
vikas dhakane
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
Megha Sharma
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
vikas dhakane
 
Heuristc Search Techniques
Heuristc Search TechniquesHeuristc Search Techniques
Heuristc Search Techniques
Jismy .K.Jose
 
I. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithmI. Hill climbing algorithm II. Steepest hill climbing algorithm
I. Hill climbing algorithm II. Steepest hill climbing algorithm
vikas dhakane
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
FellowBuddy.com
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
Megha Sharma
 
Adversarial search
Adversarial searchAdversarial search
Adversarial search
Nilu Desai
 
Lecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithmLecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithm
Hema Kashyap
 
Uninformed search /Blind search in AI
Uninformed search /Blind search in AIUninformed search /Blind search in AI
Uninformed search /Blind search in AI
Kirti Verma
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
Hema Kashyap
 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production system
Hema Kashyap
 
daa-unit-3-greedy method
daa-unit-3-greedy methoddaa-unit-3-greedy method
daa-unit-3-greedy method
hodcsencet
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.ppt
karthikaparthasarath
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search Strategies
Amey Kerkar
 
Artificial Intelligence - Hill climbing.
Artificial Intelligence - Hill climbing.Artificial Intelligence - Hill climbing.
Artificial Intelligence - Hill climbing.
StephenTec
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching Techniques
Dr. C.V. Suresh Babu
 
State Space Search in ai
State Space Search in aiState Space Search in ai
State Space Search in ai
vikas dhakane
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
Megha Sharma
 

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

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
 
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
 
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
 
Game Paper
Game PaperGame Paper
Game Paper
Siddharth Gupta
 
AO Star Algorithm in Artificial Intellligence
AO Star Algorithm in Artificial IntellligenceAO Star Algorithm in Artificial Intellligence
AO Star Algorithm in Artificial Intellligence
vipulkondekar
 
IRJET- Artificial Algorithms Comparative Study
IRJET-  	  Artificial Algorithms Comparative StudyIRJET-  	  Artificial Algorithms Comparative Study
IRJET- Artificial Algorithms Comparative Study
IRJET Journal
 
UNIT 2 - Artificial intelligence merged.pdf
UNIT 2 - Artificial intelligence merged.pdfUNIT 2 - Artificial intelligence merged.pdf
UNIT 2 - Artificial intelligence merged.pdf
SwarnaMugi2
 
Tao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume renderingTao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume rendering
Fayan TAO
 
Barcode reader
Barcode readerBarcode reader
Barcode reader
Wuhan University
 
ACM ICPC 2013 NEERC (Northeastern European Regional Contest) Problems Review
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 Elizarov
 
Analysis of Pathfinding Algorithms
Analysis of Pathfinding AlgorithmsAnalysis of Pathfinding Algorithms
Analysis of Pathfinding Algorithms
SigSegVSquad
 
Heuristic Searching: A* Search
Heuristic Searching: A* SearchHeuristic Searching: A* Search
Heuristic Searching: A* Search
IOSR Journals
 
Transportation and Assiggnment problem ppt
Transportation and Assiggnment problem pptTransportation and Assiggnment problem ppt
Transportation and Assiggnment problem ppt
Hailemariam
 
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)
 
A star algorithm with Pseudcode AI.pptx
A star algorithm with  Pseudcode AI.pptxA star algorithm with  Pseudcode AI.pptx
A star algorithm with Pseudcode AI.pptx
karthikaparthasarath
 
FADML 10 PPC Solving NP-Hard Problems.pdf
FADML 10 PPC Solving NP-Hard Problems.pdfFADML 10 PPC Solving NP-Hard Problems.pdf
FADML 10 PPC Solving NP-Hard Problems.pdf
Yelah1
 
A* algorithm
A* algorithmA* algorithm
A* algorithm
Komal Samdariya
 
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
 
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
 
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 in Artificial Intellligence
AO Star Algorithm in Artificial IntellligenceAO Star Algorithm in Artificial Intellligence
AO Star Algorithm in Artificial Intellligence
vipulkondekar
 
IRJET- Artificial Algorithms Comparative Study
IRJET-  	  Artificial Algorithms Comparative StudyIRJET-  	  Artificial Algorithms Comparative Study
IRJET- Artificial Algorithms Comparative Study
IRJET Journal
 
UNIT 2 - Artificial intelligence merged.pdf
UNIT 2 - Artificial intelligence merged.pdfUNIT 2 - Artificial intelligence merged.pdf
UNIT 2 - Artificial intelligence merged.pdf
SwarnaMugi2
 
Tao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume renderingTao Fayan_Iso and Full_volume rendering
Tao Fayan_Iso and Full_volume rendering
Fayan TAO
 
ACM ICPC 2013 NEERC (Northeastern European Regional Contest) Problems Review
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 Elizarov
 
Analysis of Pathfinding Algorithms
Analysis of Pathfinding AlgorithmsAnalysis of Pathfinding Algorithms
Analysis of Pathfinding Algorithms
SigSegVSquad
 
Heuristic Searching: A* Search
Heuristic Searching: A* SearchHeuristic Searching: A* Search
Heuristic Searching: A* Search
IOSR Journals
 
Transportation and Assiggnment problem ppt
Transportation and Assiggnment problem pptTransportation and Assiggnment problem ppt
Transportation and Assiggnment problem ppt
Hailemariam
 
A star algorithm with Pseudcode AI.pptx
A star algorithm with  Pseudcode AI.pptxA star algorithm with  Pseudcode AI.pptx
A star algorithm with Pseudcode AI.pptx
karthikaparthasarath
 
FADML 10 PPC Solving NP-Hard Problems.pdf
FADML 10 PPC Solving NP-Hard Problems.pdfFADML 10 PPC Solving NP-Hard Problems.pdf
FADML 10 PPC Solving NP-Hard Problems.pdf
Yelah1
 
Ad

Recently uploaded (19)

highend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptxhighend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptx
elhadjcheikhdiop
 
Perguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolhaPerguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolha
socaslev
 
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC
 
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry SweetserAPNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC
 
Understanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep WebUnderstanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep Web
nabilajabin35
 
White and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptxWhite and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptx
canumatown
 
Best web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you businessBest web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you business
steve198109
 
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 SupportReliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
steve198109
 
OSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description fOSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description f
cbr49917
 
(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security
aluacharya169
 
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation TemplateSmart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
yojeari421237
 
project_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptxproject_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptx
redzuriel13
 
5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx
andani26
 
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingTop Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
steve198109
 
IT Services Workflow From Request to Resolution
IT Services Workflow From Request to ResolutionIT Services Workflow From Request to Resolution
IT Services Workflow From Request to Resolution
mzmziiskd
 
Determining Glass is mechanical textile
Determining  Glass is mechanical textileDetermining  Glass is mechanical textile
Determining Glass is mechanical textile
Azizul Hakim
 
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
DataProvider1
 
DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)
APNIC
 
Computers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers NetworksComputers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers Networks
Tito208863
 
highend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptxhighend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptx
elhadjcheikhdiop
 
Perguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolhaPerguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolha
socaslev
 
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC
 
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry SweetserAPNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC
 
Understanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep WebUnderstanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep Web
nabilajabin35
 
White and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptxWhite and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptx
canumatown
 
Best web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you businessBest web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you business
steve198109
 
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 SupportReliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
steve198109
 
OSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description fOSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description f
cbr49917
 
(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security
aluacharya169
 
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation TemplateSmart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
yojeari421237
 
project_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptxproject_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptx
redzuriel13
 
5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx
andani26
 
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingTop Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
steve198109
 
IT Services Workflow From Request to Resolution
IT Services Workflow From Request to ResolutionIT Services Workflow From Request to Resolution
IT Services Workflow From Request to Resolution
mzmziiskd
 
Determining Glass is mechanical textile
Determining  Glass is mechanical textileDetermining  Glass is mechanical textile
Determining Glass is mechanical textile
Azizul Hakim
 
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
DataProvider1
 
DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)
APNIC
 
Computers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers NetworksComputers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers Networks
Tito208863
 
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. 