Arad 75 118 71 Zerind Oradea 111 Timisoara 140 Figure 3.2 70 75 Drobeta 151 Lugoj Sibiu Mehadia 120 80 99 Rimnicu Vilcea 146 97 Fagaras Craiova 138 Pitesti 101 211 A simplified road map of part of Romania. Neamt 85 90 Giurgiu 87 Bucharest Iasi Urziceni 92 142 98 Vaslui Hirsov 86 Efori

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

Both images are for the following prompt:

Trace the operation of A* search applied to the problem of getting to Bucharest from Lugoj using the straight-line distance heuristic. That is, show the sequence of nodes that the algorithm will consider and the f, g, and h score for each node for the problem of getting to Bucharest from Lugoj.

Show the total cost!

Figure 3.22
Arad
Bucharest
Craiova
Drobeta
Eforie
Fagaras
Giurgiu
Hirsova
366
0
160
242
161
176
77
151
226
244
Mehadia
Neamt
Oradea
Pitesti
Rimnicu Vilcea
Sibiu
Timisoara
Urziceni
Vaslui
Zerind
Iasi
Lugoj
Values of h SLD-straight-line distances to Bucharest.
241
234
380
100
193
253
329
80
199
374
Transcribed Image Text:Figure 3.22 Arad Bucharest Craiova Drobeta Eforie Fagaras Giurgiu Hirsova 366 0 160 242 161 176 77 151 226 244 Mehadia Neamt Oradea Pitesti Rimnicu Vilcea Sibiu Timisoara Urziceni Vaslui Zerind Iasi Lugoj Values of h SLD-straight-line distances to Bucharest. 241 234 380 100 193 253 329 80 199 374
Arad
75,
118
71
Zerind
Oradea
111
Timisoara
140
Figure 3.2
70
75
Drobeta
151
Lugoj
Sibiu
Mehadia
120
80
99
Rimnicu Vilcea
146
97
Fagaras
Craiova
138
Pitesti
101
211
A simplified road map of part of Romania.
Neamt
85
90
Giurgiu
87
Bucharest
Iasi
Urziceni
92
142
98
Vaslui
Hirsova
86
Eforie
Transcribed Image Text:Arad 75, 118 71 Zerind Oradea 111 Timisoara 140 Figure 3.2 70 75 Drobeta 151 Lugoj Sibiu Mehadia 120 80 99 Rimnicu Vilcea 146 97 Fagaras Craiova 138 Pitesti 101 211 A simplified road map of part of Romania. Neamt 85 90 Giurgiu 87 Bucharest Iasi Urziceni 92 142 98 Vaslui Hirsova 86 Eforie
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Principles of Designing
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
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