Jump to content

Talk:Dijkstra's algorithm: Difference between revisions

m
Line 375:
 
The push_priority() function of the perl implementation is faulty. This can most clearly be seen by adding an edge from 'b' to 'e' of weight 1 making s-b-e the shortest path. Yet this new path is not picked up. The vertices appears to be dequeued from the function in their inserted order, rather than by priority. In the function the binary search comparison appears to be comparing hash addresses.
 
:Fixed. [[User:Trizen|Trizen]] ([[User talk:Trizen|talk]])
2,747

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.