Lec 14 Bellman Ford P1
NPTEL - Indian Institute of Science, Bengaluru · 2,173 words · 11 min read · EN

Below is the complete, readable transcript of Lec 14 Bellman Ford P1 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 will now begin our discussions on Bellman Ford algorithm so we are going to work on a graph G which has a verx set V Edge set e weight function W yes Source function yes we are interested in solving single Source shortest path problem that means we have to find out Delta V
and uh uh parent of V for every vertex V towards this we had a mathematical formulation and obtained belman equations uh for the Delta values but they have nonlinearity and circular dependency see okay nonlinearity and uh circular dependencies these two things made solving the Belin equation impossible so we were looking for an iterative way to
solve the belman equation and obtain the Delta values towards that we have introduced uh the quantities like Alpha i v and Delta i v and we are going to iteratively build a solution we're going to still work towards obtaining the solution for belman equation but then in the same equation we are relating Alpha
I values okay and uh we have derived belman equations for bounded walks and bounded paths that means there is a bound on the number of edges this leads to a decreasing sequence leading to the answer we are looking for so we have Alpha 0 for all vertices using that alpha 1 for all vertices and finally we will end
up alpha n minus one for all vertices this is an iterative process and that is what the bman and for algorithm is going to carry out basically the bman and for algorithm will keep Computing the alpha values if G has no negative Cycles then whatever we are Computing turns out to be Delta 0 to
Delta 1 to Delta 2 and so on to Delta n minus1 this computation is valid for any graph but if this computation is carried out on a graph that has no negative cycle the computation that we are doing values we are generating are indeed this that is because for such a g Alpha
Transcribe another video
Paste any YouTube, Instagram or TikTok link to get a free transcript.