
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Main points of this homework are: Destination’s Local Neighborhood, Weighted Edges, Route from Destination, K-Spanner of Network, Shortest Distances, Optimal Route, Subset of Edges, Original Network, Capacity Function, Lower Bounds
Typology: Lecture notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!
Suppose in our city we have n destinations connected by roads whose dis- tances are represented by weighted edges where weights satisfy the triangle inequality (i.e. d(u, v) ≤ d(u, w) + d(w, v), for all possible destinations u, v, and w. (You can assume the city is connected).
Define a destination’s “local neighborhood” to be the
n nodes that are closest to the destination, including the destination itself and breaking ties arbitrarily.
n log n) landmarks so that every destination has at least one landmark in its local neighborhood.