Lec 17 Dijkstra Algorithm P2
NPTEL - Indian Institute of Science, Bengaluru · 3,501 words · 18 min read · EN

Below is the complete, readable transcript of Lec 17 Dijkstra Algorithm P2 by NPTEL - Indian Institute of Science, Bengaluru on YouTube. Read the full text, copy any part you need, or generate a transcript for any video with our free tool.
namaskara we continue our discussions on dxas algorithm in Dyas algorithm we solve the single Source shortest path Problem by determining um the shortest uh path weight um in incremental order okay so we will do n minus one iterations and find the shortest path weights of n minus one vertices in each iteration we
find uh one vertex for which the shortest path distance the shortest path weight is determined uh so we will maintain two sets yes and another set V minus yes so s is the set of all vertices for which Delta value uh are known this is not Delta value or not known so we will
work with the vertices in v v minus s identify a Vertex for which the Delta is known then move that to so determine uh vertex V in V minus s such that Delta V is known or Delta V is computed since for V Delta V is known we have to move V to
yes okay this is what we repeatedly do so how do we uh determine the vertex in V minus s we keep for every vertex in for every V belonging to V minus s we maintain two pieces of information the first one is D of V which is the weight of shortest special path what we mean by special path is a
path from s to V with all vertices other than we are in yes okay so if this is yes there may be several vertices and then this is V this is a special path okay so the special path ends with a Crossing Edge Crossing Edge is an edge going from s to V minus uh yes and this is previous of V
this is the last Edge so we always say the last Edge in the form of the vertex and its previous vertex so p V = to U where u v is the lastage of uh the shortest special path so these two pieces of information we maintain use this to determine the V so how do we determine V we have seen in
Transcribe another video
Paste any YouTube, Instagram or TikTok link to get a free transcript.