Search
The Maze represents typical state space search task, we support solutions both in Java and Python.
Lets us have a square board of N x N squares. The playing board is clearly delimited and board's edges do not neighbor each other. (We can imagine typical chessboard.) For each square, we will define its four-neighborhood, in other words each square has only four neighbors, those it shares an edge with.
On the playing board, there is one square that is marked S (start), another one that is marked G (goal). All squares are then marked either free ( ) or full(blocked) (+). For obvious reasons, squares marked either S or G are always free.
We place a robot on the starting square, which has to move to the goal square in the least number of moves. We can also imagine the robot moves like the tower in chess does.
Create an algorithm, which will lead the robot on shortest path through the maze. You will have access to the whole playing board, like you were looking on a chessboard, not like you were a robot with limited field of view.
Algorithm is going to be tested on a set of maps and it will be evaluated based on its performance according to the following criteria. (Sorted by their priority):
Correct path, if it exists:
During this assignment we will see the following properties of this kind of problems.
Just like in the whole course, foremost we value your effort. You do not have to worry about not finishing this course just because of this assignment. However, during the work on this assignment, there are several defined control points, where you can check your progress. At the end, all the algorithms will be compared by testing them and you will try to score as high as you can.
More details are here.
Results can be found here
You can download support classes (Java) here.
You can download support modules (Python) here.