Examveda

In a graph with weighted edges, what does the term "relaxation" refer to in shortest path algorithms?

A. Expanding the adjacency list of a vertex.

B. Removing edges that cause negative cycles.

C. Updating the shortest path estimate if a shorter path is found.

D. Adding a new vertex to the graph.

Answer: Option C


This Question Belongs to Data Structure >> Graphs

Join The Discussion

Related Questions on Graphs

What is a cycle in a graph?

A. A path that starts and ends at the same vertex with no other repetitions.

B. A path that includes all vertices exactly once.

C. A path with no edges.

D. A complete traversal of all vertices.