L Linh Chi New member Sep 21, 2021 #1 Consider the following graph. If b is the source vertex, what is the minimum cost to reach f vertex? A. 8 B. 9 C. 4 D. 6
Consider the following graph. If b is the source vertex, what is the minimum cost to reach f vertex? A. 8 B. 9 C. 4 D. 6
T Trương Duy New member Sep 21, 2021 #2 Answer: d Explanation: The minimum cost to reach f vertex from b vertex is 6 by having vertices g and e as intermediates. b to g, cost is 1 g to e, cost is 4 e to f, cost is 1 hence total cost 1+4+1=6. Upvote 0 Downvote
Answer: d Explanation: The minimum cost to reach f vertex from b vertex is 6 by having vertices g and e as intermediates. b to g, cost is 1 g to e, cost is 4 e to f, cost is 1 hence total cost 1+4+1=6.