Python Help Dijkstra’s Algorithm Tuff One!

  • Thread starter Thread starter kai
  • Start date Start date
I've implemented the Dijkstra's algorithm in java, are you implementing it exactly as the standard algorithm or changing it a little bit?

Because by the sounds of it you should be able to implement it exactly as the algorithm states.
 
I haven't programmed in python before but currently working my way through a book on it, can you copy the relevant python code to each line of the pseudo code?

And what output are you getting form the program if run on a small graph?
 
Back
Top Bottom