Question: Question 3 ( 4 0 ) : ( Searches and Search Trees ) This problem concerns an undirected graph U and a directed graph D
Question : Searches and Search Trees This problem concerns an undirected graph and a directed graph each of which has nine nodes. The graph has twelve undirected edges, and has twelve directed edges in each direction, for a total of directed edges.
The graphs concern nine towns in MA CT and NY with travel permitted either by car or bike between adjacent towns in the graph.
We first have the undirected graph for driving times by car:
Carry out a DFS search for the undirected graph beginning with node EGR and with no goal node. List the order in which the nodes are placed on the open list call this the On Order" If a node is placed on the list multiple times, it should be listed each time. Separately list the order in which each node is taken off the open list call this the "Out Order"
When two or more nodes need to come off the list, and they entered at the same time, take the one first that comes earlier alphabetically.
Also draw the DFS tree, indicating the tree edges and the back edges.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
