Concept explainers
A college campus plans to provide awnings above its sidewalks to shelter students from the rain as they walk from the parking lot and between buildings. To save money, awnings will not be placed over all of the sidewalks shown in the figure. Just enough awnings will be placed over a select number of sidewalks to ensure that students walking from building to building will be able to do so without getting wet.
a. Use a weighted graph to model the given map. Represent buildings as vertices, sidewalks as edges, and sidewalk lengths as weights.
b. Use Kruskal's Algorithm to find a minimum spanning tree that allows students to move between the parking lot and any buildings shown without getting wet. What is the total length of the sidewalks that need to be sheltered by awnings?
Want to see the full answer?
Check out a sample textbook solutionChapter 14 Solutions
Thinking Mathematically, Books a la Carte Plus MyLab Math -- Access Card Package (7th Edition)
- Holt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL