Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Figure 2 Question 2 [ 6 pts ] Figure 2 shows a robot navigation field, where the green square ( b 7 ) is the

Figure 2
Question 2[6 pts] Figure 2 shows a robot navigation field, where the green square (b7) is the robot, and red square (d2) is the goal. The shad squares (such as c2, d3 etc.) are obstacles. The robot is not allowed to move in diagonal line. Nodes are coded using an alphabet letter followed by a digit (such as b1, b2 etc.). When two sibling nodes are inserted into fringe (queue), use deque order to favor node with a lower alphabet and a lower digit. For example, if d1 and e2 are sibling nodes, d1 will be dequeued first (because d has a lower alphabetic order than e). If e1 and e2 are sibling nodes, e1 will be dequeued first (because 1 has a lower digit than 2). Node expanded/visited does not need to be revisited.
Use Depth First Search to find path from b7 to d2.
o Report nodes in the fringe in the orders they are included in the fringe. [0.5 pt]
o Report the order of the nodes being expanded. [0.5 pt]
o Report the final path from b7 to d2.[0.5 pt]
DFS
Fringe: Node visited/expanded
Use Breadth First Search to find path from b7 to d2.
o Report nodes in the fringe in the orders they are included in the fringe. [0.5 pt]
o Report the order of the nodes being expanded. [0.5 pt]
o Report the final path from b7 to d2.[0.5 pt]
BFS
Fringe: Node visited/expanded
Use Best First Search to find path from b7 to d2.(Using Manhattan distance as the heuristic function)
o Report nodes in the fringe (including their f(N) values) in the orders they are included in the fringe. [0.5 pt]
o Report the order of the nodes being expanded. [0.5 pt]
o Report the final path from b7 to d2.[0.5 pt]
Best First Search
Fringe: f(N)=h(N) Node visited/expanded
Use A* to find path from b7 to d2.(Using Manhattan distance as the heuristic function).
o Report nodes in the fringe (including their f(N) values) in the orders they are included in the fringe. [0.5 pt]
o Report the order of the nodes being expanded. [0.5 pt]
o Report the final path from b7 to d2.[0.5 pt]
A* Search
Fringe: f(N)=g(N)+h(N) Node visited/expanded

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

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

What is the submission deadline for the final report?

Answered: 1 week ago

Question

What is the indicative word limit?

Answered: 1 week ago