Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Definition 1 ( Travelling Salesperson Problem ) . Given a list of cities and the distances ( edges ) between each pair of cities (

Definition 1(Travelling Salesperson Problem). Given a list of cities and the distances (edges) between each pair of cities (nodes), what is the optimal route that visits each city exactly once starting from city A and ending at any other city? A,H,G,F,J,C,D,E,B Personalize this homework for yourself: Take the last 3 digits of your M# , and call is a_() : Find N_(1)=(amod11)+4, which will be a number between 4 and 14 : Find N_(2)=(amod12)+1, which will be a number between 1 and 12. For example: Let a=257. Then N_(1)=(257mod11)+4=4+4=8 and N_(2)=(257mod12)+1=5+1=6. Now update the above given citi-distances graph by setting the distance of AB to be N_(1) and the distance of AH to be N_(2). Now, with your personalized graph of cities, answer the following questions: In the search tree, let frontier denote the list that contains all the discovered but unexpanded nodes. (20 pts) Perform uniform-cost search for the above problem formulation. Show all the changes on frontier until a node containing a four-city partial tour is pulled out of the list. Each entry in frontier contains the partial tour and its g(x) value. (40pts ) Perform A^(**) search for the above problem formulation using h_(1)(x) as the heuristic function. (a)(15 pts) Show all the changes on frontier until a node containing a four-city partial tour is pulled out from the list. Each entry in frontier contains the partial tour and its f(x)\rho _(x),h_(1)(x) values. (b)(10 pts) Only for the two states AB and AH , show the subgraphs and its MCSTs.(c)(15 pts) Show the search tree of this time step, i.e., when a first nodethat contains a four-city partial tour is pulled out from frointer to expand. (30pts ) Perform A^(**) search for the above problem formulation using h_(2)(x) as the heuristic function. (a)(15 pts) Show all the changes on frontier until a node containing a four-city partial tour is pulled out from the list. Each entry in frontier contains the partial tour and its f(x)g(x),h_(2)(x) values. (b)(15 pts) Show the search tree of this time step. (10 pts) Are h_(1)(x) and h_(2)(x) admissible heuristic functions? Give precise and succinct reasons to justify your answers.
image text in transcribed

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

Decisions Based On Data Analytics For Business Excellence

Authors: Bastian Weber

1st Edition

9358681683, 978-9358681680

More Books

Students also viewed these Databases questions

Question

2. (1 point) Given AABC, tan A b b

Answered: 1 week ago

Question

2. Outline the business case for a diverse workforce.

Answered: 1 week ago