CS-1D Assignment 10

$30.00

Category: Tags: , , , You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (2 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