Unformatted text preview: vertices in set S after each iteration of the while loop. 6 3 2 1 4 2 7 5 3 6 4. (1 Points) p.600: 24.3-4 We are given a directed graph ) , ( E V G = on which each edge E v u ∈ ) , ( has an associated value ) , ( v u r , which is a real number in the range 1 ) , ( ≤ ≤ v u r that represents the reliability of a communication channel from vertex u to vertex v . We interpret ) , ( v u r as the probability that the channel from u to v will not fail, and we assume that these probabilities are independent. Give an efficient algorithm to find the most reliable path between two given vertices. 5. (1 Point) p.613: 24.5-4 Let ) , ( E V G = be a weighted, directed graph with source vertex s and let G be initialized by INITIALIZE-SINGLE-SOURCE( G , s ). Prove that if a sequence of relaxation steps sets ] [ s to a non-NIL value, then G contains a negative-weight cycle. s y t z x...
View Full Document
This note was uploaded on 12/03/2009 for the course CS CS101 taught by Professor Agoreback during the Spring '09 term at American College of Gastroenterology.
- Spring '09