Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question

Please answer the following question in full detail. Please be specifix about everything:

You have learned before that A∗ using graph search is optimal if h(n) is consistent. Does this optimality still hold if h(n) is admissible but inconsistent? Using the graph in Figure 1, let us now show that A∗ using graph search returns the non-optimal solution path (S,B,G) from start node S to goal node G with an admissible but inconsistent h(n). We assume that h(G) = 0. Give nonnegative integer values for h(A) and h(B) such that A∗ using graph search returns the non-optimal solution path (S,B,G) from S to G with an admissible but inconsistent h(n), and tie-breaking is not needed in A∗.

 

(S)
2
A
1
B
4
4
Figure 1: Graph for heuristic search.
(G)
expand button
Transcribed Image Text:(S) 2 A 1 B 4 4 Figure 1: Graph for heuristic search. (G)
Expert Solution
Check Mark
Still need help?
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

I meant to say that S -> A -> B -> G is the actual optimal path with cost 7 compared to S -> B -> G which has a path cost of 8. But with the heuristics considered this would be the search:

S -> A  = 2 + h(A) = 3
S -> B = 4 + h(B) = 7

From there on, it would lead to S -> A -> B -> G and not S -> B -> G, which is we want to have in this problem. So how is this solved? Since S -> A -> G isn't optimal as it is not possible to reach G without intercepting B.

Sorry for the typo earlier. 

Solution
Bartleby Expert
by Bartleby Expert
SEE SOLUTION
Follow-up Question

Isn't the actual optimal S->B->G. If yes, then how are the assumed heuristics valid?

Solution
Bartleby Expert
by Bartleby Expert
SEE SOLUTION
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

I meant to say that S -> A -> B -> G is the actual optimal path with cost 7 compared to S -> B -> G which has a path cost of 8. But with the heuristics considered this would be the search:

S -> A  = 2 + h(A) = 3
S -> B = 4 + h(B) = 7

From there on, it would lead to S -> A -> B -> G and not S -> B -> G, which is we want to have in this problem. So how is this solved? Since S -> A -> G isn't optimal as it is not possible to reach G without intercepting B.

Sorry for the typo earlier. 

Solution
Bartleby Expert
by Bartleby Expert
SEE SOLUTION
Follow-up Question

Isn't the actual optimal S->B->G. If yes, then how are the assumed heuristics valid?

Solution
Bartleby Expert
by Bartleby Expert
SEE SOLUTION
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education