CS 1D Assignment 10 DFS,BFS solution

$24.99

Original Work ?

Download Details:

  • Name: Assignment-10-BFS-DFS-wu15h9.zip
  • Type: zip
  • Size: 70.79 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (3 votes)

Part A
Develop software to perform a DFS starting at Chicago (always
choose the edge with the smallest mileage). Identify the
discovery edges and the back edges. What is the total distance
travelled on the discovery edges? Use an Adjacency List
structure.
Part B
Develop software to perform a BFS starting at Chicago (always
choose the edge with the smallest mileage). Identify the
discovery edges and the cross edges. What is the total distance
travelled on the discovery edges? Use an Adjacency Matrix
structure.
Work with one partner from your project 2 team.
Due April 6th