Talk:Dijkstra's algorithm: Difference between revisions

Line 14:
 
Given how well the O(n^2) algorithm works, it should be fine for the basic task and I don't think we should fuss that it's inefficient. The heap enhancement makes a nice requirement for extra credit. To show it off seems to require a really big graph though! This thing with unixdict.txt is what I came up with for something that is repeatable. —[[User:Sonia|Sonia]] 00:30, 10 December 2011 (UTC)
: <s>21k nodes, but how many edges?</s> NVM, only 240k edges, which is low (a normal planar graph expect edge count to be somewhat comparable to V<sup>2</sup>, your graph is only about 1/2000 of that, which is to say, instead of a web, that graphis is more like trees: very few loops. --[[User:Ledrug|Ledrug]] 00:40, 10 December 2011 (UTC)
Anonymous user