Talk:Dijkstra's algorithm

From Rosetta Code
Revision as of 03:22, 9 December 2011 by rosettacode>Dkf (Java example cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Java example cleanup

I've done some cleaning up of the Java example, making many of the problems in the code much less prominent. (For example, I've reduced the use of effectively-global variables and I've split the I/O from the algorithm.) More work is needed to finish transforming it from something that stank of old-skool C, but it's a long way there. I've not really addressed any of the issues raised in the alertbox (e.g., the arbitrary node limit is still there — not that you'd want to have to type in the distance matrix for anything that large anyway) but they should now be much easier for someone else to address. –Donal Fellows 03:22, 9 December 2011 (UTC)