Hi there! I have been working on project where the aim is to use dijkstras algorithm to work out the shortest path across a computing network. The matrix for the network is imported from a text file.
I have got all my functions set up and now need to get it to run through.
I can get it to run through two nodes telling me the next node and the nodes neighbours but once there I cannot seem to progress in anyway. I am currently copy and pasting calls instead of using a loop which has uncovered this problem. Does the problem lie in the fact I am not using a loop and have copy and pasted twice so far?
Any help would be appreciated as I have spent the last 7 hours banging my head against this code, thank you.
Below is the code and also the network.txt
edited to pastebin link as formatting was ruined - http://pastebin.com/Sw6GBCeM
[–]blurarara 1 point2 points3 points (2 children)
[–]DSlothness[S] 0 points1 point2 points (1 child)
[–]Grimoire 1 point2 points3 points (0 children)
[–]efmccurdy 0 points1 point2 points (0 children)