Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A 1 : A 2 D grid map is given below. You are required to plan path from start ' S ' to goal '

A1: A 2D grid map is given below. You are required to plan path from start 'S' to goal 'G'.Map Start (origin)
\table[[(0,0),1,2,3,,4],[6,,,5,,],[,9,10,11,12,13],[14,,15,,16,],[,17,18,19,G,20]]
Grids in black color are obstacles (non-empty grids). Empty grids are numbered for convenience.
Starting point of the map also indicated. Subsequent grids can be addressed by their x and y
coordinates.
Represent the map as a tree structure with 'S' being root (also write costs). Assume the
robot can only take four possible actions (if allowed by map) from any given grid i.e. left,
right, up, and down.
For Dijkstra and A*, the cost of moving from node to adjacent allowed node is 1 unit.
On paper, run Breadth first, Depth first, Dijkstra, and A* to plan path from 'S' to 'G'.
Answer following two questions for each algorithm:
o How many nodes (grids) have been explored by each algorithm before it hit the
goal.
0 What is the path generated by the each algorithm. You can indicate the path by
node numbers e.g. S -->5-->7...
o Make a table enlisting above results for all algorithms.Man Start (orioin)
Note: For A*, you can use your own heuristic. Make a suitable choice of heuristics, and clearly
explain what is your heuristic function and why are you using it.
Map Start (origin)
\table[[(0,0),1,2,3,,4],[6,,,5,,],[,9,10,11,12,13],[14,,15,,16,],[,17,18,19,G,20]]
PLEASE DO IT ASAP
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

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions

Question

1. Describe the power of nonverbal communication

Answered: 1 week ago