





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Design/Analysis Algorithms; Subject: COMP Computer Science; University: University of Memphis; Term: Spring 2006;
Typology: Study notes
1 / 9
This page cannot be seen from the preview
Don't miss anything!






Relaxing an edge d [ v ]: upper bound on the weight of a shortest path from
s^ to^ v
Relaxation: an operation that tightens an upper bound
Dijkstra’s algorithm
Comparing BFS,Prim,Dijkstra
Greedy {^ Use min-priority queue to find the‘lightest’ vertex outside^ S (Dijkstra);
tree being grown (Prim) { Add this vertex to the set { Adjust the weights of the remainingvertices outside the set