Urgent and I mportant - Path Planning and Maze Search - Dijkstra's Algorith
Hi,
I've an assignment at hand which I would like you to have a look at to see.
Basically it's using Dijkstra's Algorithm and futher information could be obtain here...
http://www.cse.unsw.edu.au/~cs2011/lect/ShortestPath.pdf
As for information of the assignment, pls refer to
http://www.cse.unsw.edu.au/~cs2011/hw4/
For the sample output as in below link, please follow the exact format for the program.
http://www.cse.unsw.edu.au/~cs2011/hw4/samples/
The FAQs asked by some of the students:
http://www.cse.unsw.edu.au/~cs2011/hw4/faq.shtml
I had a bad encounter with a few of the programmers here, hope you'll understand.
Regards
So I guess if you read your assignment you saw this:
DO NOT COPY FROM OTHERS; DO NOT ALLOW ANYONE TO SEE YOUR CODE
The Penalty: You will be awarded a negative mark, -5, for this assignment if your submission is too similar to another submission. This penalty will apply whether you copied or were copied from. You will be notified by email. Plagiarism cases will be recorded on your file. Repeat offences will be more severely penalised, and may result in faculty-level disciplinary action.
DO NOT COPY FROM OTHERS; DO NOT ALLOW ANYONE TO SEE YOUR CODE
Ok. So what that says is we shouldn't post code here because you can't use it. And if you post code here, you run the risk of being copied by one of your peers. What exactly do you want us to do?
What part is giving you trouble?
Do you think that it is easy homework?/
Do you have any idea how to do that?
Can you give me tips ? or may you can start do that?
I believe that it is a forum that should help others and not just say like all - "it is a homework - I can not do that", It is a kind of way to escape from trying to help more..
TheArtOfDarkness...
I'm not saying you shouldn't ask questions, only that you should be explicit about what you need to know. Otherwise this will only be a waste of your time and ours.
As for the tip, my direction would be to create four vertices for each position in the maze: one for face up, one for face left, etc. Program the edges accordingly (every R, L and F move is translated to one edge, figure out how). Then finding the move list is reduced to finding a shortest path, and since the edges are unweighted even BFS would do.
Good luck.
Gal
GalBa at 2007-7-7 19:51:18 >
