We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Fundamentals of Algorithms

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 7303


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion

btay ga koi plzzzz,,,

poura ans ak page sy zyada na ho ya ak alogorithm ,,?

kha chly gy ho sbb koi to ay yha,,

simple 1.5 pages long assignment solution only ur own words.

thnx a already done it,,, thnx to all for discusion here,,

Feaman Allah

salam to all vu friends....please upload a solution of this assignment now...

Muje b dena 

write comprehensive summary of any three of the discussed shortest path algorithms in your own words. 
4 algorithms hein ap koi sey 3 select kr k apni words mein lekh dey ,PDF file ko read kry sath mein chapter # 8 , jo b algorithm select kia hai start mein thorra os k bare mein btae like definition k basically is mein krte kia hein ,then os k advantages bta dein agr koi important steps mentions hein un k bare mein lekh dey.

apne words pe likhna hai na k copy paste

Bellman-Ford Algorithm: 

In Bellman-Ford algorithm a graph can contain cycles of negative weights,  where each cycle will minimize the length of the shortest path.According to this fact the array d[] will store the shortest length from the starting point s to other vertices. And in order to determine the length of all shortest paths in a graph it requires n – 1 phases, but for distant vertices, the value of elements of the array will remain by being assigned to infinity.   

 Dijkstra’s Algorithm: 

In this algorithm every vertex is assigned a label that determines the shortest length from the starting point s to other vertices v of the graph. The algorithm works step by step, and in each step it tries to minimize the value of the label of the vertices. The algorithm stops when all vertices have been visited.Length from starting point to other vertices is unknown. If all vertices have been visited, then the algorithm finishes; otherwise, we have to choose the vertex which has the smallest value at its label from the list of unvisited vertices.  After that, we will consider all neighbors of this vertex.  For each unvisited neighbor we will consider a new length, which is equal to the sum of the label’s value at the initial vertex and the length of edge that connects them.  



Floyd-Warshall Algorithm:

This algorithm is used to find the shortest path between both positive and negative edge weight.This algorithm can find the shortest path in one execution but without extended details.


Today Top Members 

1 Biya


2 Asad


3 Ahmad


© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service