thelast Posted June 15, 2007 Share Posted June 15, 2007 Greetings, Forgive the 'first-post-seek-help' thingy. I've tried to understand certain codes through online resources and even offline help (friends/lecturers) but nothing work. I'm really desperate as my assignment is nearing the end and I am pretty much stuck at the start of the codings. I've tried developing something from scratch but, that was worse and much time consuming. Hence, I'm using an open source code (which is even more time consuming; needs understanding of other people's codes but at least the program is workable). My problem is, I am working on a program related to Dijkstra Algorithm. Link for your reference: http://en.wikipedia.org/wiki/Dijkstra's_algorithm My program's ultimate output or goal is to calculate the shortest path available to reach certain destination. (User's input of a place, and destination, program calculates and outputs the best path to take) Can anyone please kindly explain to me what it function does in the codes? (I understand this is total spoonfeeding) I understand some of the functions function but, I do not know how to explain it using words, why is it there and what is it used for in the entire codes. (Which parameters/segments does it affect). I've tried editing the codes to form a graph of my own, very basic 4 points to calculate which is better path but after trying for 2 weeks, I still couldn't figure out how. I'll appreciate any form of help and I apologise for the lengthy and whiney post. Here is the link for the open source file. http://download.yousendit.com/C0E3F70E56913777 http://download.yousendit.com/51617B0762202E16 Hope to hear from someone soon. Please help! Best Regards, Last Quote Link to comment https://forums.phpfreaks.com/topic/55697-newbie-needs-help-with-os-codings-cry/ Share on other sites More sharing options...
thelast Posted June 17, 2007 Author Share Posted June 17, 2007 Bump. PS: If I'm not allowed to do so please advise, thanks. Regards, Thelast Quote Link to comment https://forums.phpfreaks.com/topic/55697-newbie-needs-help-with-os-codings-cry/#findComment-276285 Share on other sites More sharing options...
thelast Posted June 18, 2007 Author Share Posted June 18, 2007 Can anyone advise me on how to shift the '0' to where I want them to be? Tried to echo at certain part of the functions like printMap but still, not sure which line affects the row of '0's; not the infinite distances aka 1000. I'll appreciate any form of help. PS: Couldn't edit the first post. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/55697-newbie-needs-help-with-os-codings-cry/#findComment-276495 Share on other sites More sharing options...
thelast Posted June 21, 2007 Author Share Posted June 21, 2007 Bump. Quote Link to comment https://forums.phpfreaks.com/topic/55697-newbie-needs-help-with-os-codings-cry/#findComment-279325 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.