b с g 20 20 10 a 40 20 g′ 11 d 10 20 g" a tree for g

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Using the image provided, please answer the following questions.

(a). Find a path from a to g in the graph G using the search strategy of depth-first search. Is the returned solution path an optimal one? Give your explanation and remarks on "why-optimal" or "why-non-optimal".

(b). Find a path from a to g in the graph G using the search strategy of breadth-first search. Is the returned solution path an optimal one? Give your explanation and remarks on "why-optimal" or "why-non-optimal".

(c). Find a path from a to g in the graph G using the search strategy of least-cost first search. Is the returned solution path an optimal one? Give your explanation and remarks on "why-optimal" or "why-non-optimal".

(d). Find a path from a to g in the graph G using the search strategy of best-first search. The heuristics for these nodes are: h(a,25); h(b, 43); h(c,5); h(d, 64); h(g, 0). Is the returned solution path an optimal one? Give your explanation and remarks on "why-optimal or "why-non-optimal".

(e). Suppose AGAIN the heuristics of h(a,25); h(b, 43); h(c,5); h(d, 64); h(g, 0). Find a path from a to g in the graph G using the search strategy of A* search. Is the returned solution path an optimal one? Give your explanation and remarks on "why-optimal" or "why-non-optimal".

(f). Suppose the heuristics is now UPDATED to h(a,5); h(b, 9); h(c,5); h(d, 29); h(g, 0). Find a path from a to g in the graph G using the search strategy of A* search again. Is the returned solution path an optimal one? Give your explanation and remarks on "why-optimal" or "why-non-optimal".

(g). Suppose the heuristics is FURTHER UPDATED to h(a,5); h(b, 8); h(c,5); h(d, 9); h(g, 0). Find a path from a to g in the graph G using the search strategy of A* search again. Is the returned solution path an optimal one? Give your explanation and remarks on "why-optimal" or "why-non-optimal". What would be your additional comments in terms of the solution path finding under this heuristics?

b
с
g
20
20
10
a
40
20
g′
11
d
10
20
g"
a tree for g
Transcribed Image Text:b с g 20 20 10 a 40 20 g′ 11 d 10 20 g" a tree for g
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binomial Heap
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.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education