Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Perform an A* search applied to the problem of getting from Lugoj to Bucharest using the straight-line distance heuristic using the map on p.68 and

Perform an A* search applied to the problem of getting from Lugoj to Bucharest using the straight-line distance heuristic using the map on p.68 and table on p.93(attached below). On the graph, show the f, g, and h score for each node as it is expanded.

NOTE: Make sure to accumulate total distance traveled in your g() score as you expand each node - the total cost to get to that node includes all the g() costs prior (total distance from source to that node, sum of all road lengths so far).

(Note: You can draw out on paper and scan or take a pic with your cell phone, as long as it's legible.)

Show the sequence of nodes that the algorithm will choose as the optimal path, and the total distance traveled.

image text in transcribed

image text in transcribed

71 Neamt 87 Zerind151 75 asi Arad 140 92 Sibiu Fagaras 118 Vaslui 80 Rimnicu Vilcea Timisoara 142 211 Pitesti Lugoj 97 98 70 Hirsova Mehadia 146 101 Urziceni 86 75 138 Bucharest 120 90 Eforie Craiova Giurgiu Figure 3.2 A simplified road map of part of Romania

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus Of A Single Variable

Authors: Ron Larson, Bruce H. Edwards

11th Edition

978-1337275361, 9781337275361

Students also viewed these Databases questions

Question

Tlhee uation of the ellipse graphed below is

Answered: 1 week ago