Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (20 pts.) Search Suppose there are two friends living in different cities on a map, such as the Romania map shown in AIMA and

image text in transcribed

2. (20 pts.) Search Suppose there are two friends living in different cities on a map, such as the Romania map shown in AIMA and lectures. On every turn, we can move each friend simultaneously to a neighboring city on the map. The amount of time needed to move from city i to neighbor j is equal to the road distance d( between the cities, but on each turn the friend that arrives first must wait until the other one arrives (and calls the first on his/her cell phone) before the next turn can begin. We want the two friends to meet as quickly as possible. (Treat the call as though it takes no time.) Formulate this as a search problem. (a) (4) What is the state space? (You will find it helpful to define some formal notation here.) (b) (4) What is the successor function? (c) (2) What is the goal? (d) (2) What is the step cost function? (e) (6) Let SLD(i, j) be the straight-line distance between any two cities i and j. Which, if any, of the following heuristic functions are admissible? (If none, write NONE.) (i) SLD(i, j) (i) 2.SLD(i,j) (ii) SLD(i, j)/2 (f) (2) True/False: There are completely connected maps for which no solution exists 2. (20 pts.) Search Suppose there are two friends living in different cities on a map, such as the Romania map shown in AIMA and lectures. On every turn, we can move each friend simultaneously to a neighboring city on the map. The amount of time needed to move from city i to neighbor j is equal to the road distance d( between the cities, but on each turn the friend that arrives first must wait until the other one arrives (and calls the first on his/her cell phone) before the next turn can begin. We want the two friends to meet as quickly as possible. (Treat the call as though it takes no time.) Formulate this as a search problem. (a) (4) What is the state space? (You will find it helpful to define some formal notation here.) (b) (4) What is the successor function? (c) (2) What is the goal? (d) (2) What is the step cost function? (e) (6) Let SLD(i, j) be the straight-line distance between any two cities i and j. Which, if any, of the following heuristic functions are admissible? (If none, write NONE.) (i) SLD(i, j) (i) 2.SLD(i,j) (ii) SLD(i, j)/2 (f) (2) True/False: There are completely connected maps for which no solution exists

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_2

Step: 3

blur-text-image_3

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

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions

Question

The model in Exercise 35 starting from (0.5, 1).

Answered: 1 week ago