Data Structure and Algorithms - Programming Assignment 5 | CS 303, Assignments of Computer Science

Material Type: Assignment; Class: Algorithms and Data Structures; Subject: Computer Science; University: University of Alabama - Birmingham; Term: Spring 2008;

Typology: Assignments

Pre 2010

Uploaded on 04/12/2010

koofers-user-aoi
koofers-user-aoi 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 303L Data Structure and Algorithm
April 3, 2008
Programming Assignment 5
(Due on April 17, 2008)
In this assignment, we are going to solve the question of the minimum spanning tree with
weighted graphs. Suppose you run a cable company, and you want to install a cable television
line that connects some cities in Alabama, Georgia, and Florida.
The following figure represents all possible routes for installing cable television lines between
cities in Alabama, Georgia, and Florida. The red dots represent cities, the orange lines indicate
the possible routes for installing a cable television line, and the blue numbers show the distance,
which implies the cost, between the two cities. The cost of connecting each pair of cities varies,
so you must pick the route carefully to minimize the overall cost. (Two-page report is required)

Partial preview of the text

Download Data Structure and Algorithms - Programming Assignment 5 | CS 303 and more Assignments Computer Science in PDF only on Docsity!

CS 303L Data Structure and Algorithm

April 3, 2008

Programming Assignment 5

(Due on April 17, 2008)

In this assignment, we are going to solve the question of the minimum spanning tree with weighted graphs. Suppose you run a cable company, and you want to install a cable television line that connects some cities in Alabama, Georgia, and Florida.

The following figure represents all possible routes for installing cable television lines between cities in Alabama, Georgia, and Florida. The red dots represent cities, the orange lines indicate the possible routes for installing a cable television line, and the blue numbers show the distance, which implies the cost, between the two cities. The cost of connecting each pair of cities varies, so you must pick the route carefully to minimize the overall cost. ( Two-page report is required)