Commit Graph
45 Commits
Author SHA1 Message Date
antograb f3a1f51d10 Fix shortestPath NullPointerException
Fix exception when the departure and the arrival
are next to each other. I redefined the path by
including the arrival in the path.
2018-01-03 10:35:09 +01:00
antograb e7c2ecb353 Add path drawing interaction & animation feature 2018-01-02 23:11:36 +01:00
antograb 43feeaf93f Add editing functionalities 2018-01-02 22:07:42 +01:00
antograb 34f8750816 Merge branch 'editMaze' of antograb/TpMazeJava into mvc 2018-01-01 20:28:25 +01:00
antograb 286023c5d8 Add editing functionalities 2017-12-30 00:19:41 +01:00
antograb c7134e9e91 Fix infinite path in Dijkstra algorithm 2017-12-27 15:13:40 +01:00
antograb a26f896c6d Merge branch 'unifyLoadSave' of antograb/TpMazeJava into mvc 2017-12-26 17:13:26 +01:00
antograb 9f56d3082a Add paintShortestPath to MazeAppModel 2017-12-21 09:38:31 +01:00
antograb 16df6a26c6 Fix exception when exiting showDialog 2017-12-21 09:03:55 +01:00
antograb 3cdf425435 Add load maze 2017-12-20 21:05:56 +01:00
antograb 9d6b6a286f Merge branch 'saveMazeFromUI' of antograb/TpMazeJava into mvc 2017-12-20 19:21:59 +01:00
antograb 213071d3c2 Fix indexes confusion 2017-12-18 16:32:47 +01:00
antograb d9b52c35e2 [WIP] Load maze 2017-12-18 11:47:55 +01:00
antograb 9aa134eb77 Accidentally forgot to save file 2017-12-17 20:30:35 +01:00
antograb 7d5b2938fc Add loading options in JMenuBar
Need to fix bug when loading new maze
with different dimensions
2017-12-17 20:27:55 +01:00
antograb a5d0df4b96 Modified LoadMenuItem 2017-12-16 16:21:57 +01:00
antograb a6783e4a0d Add LoadMazeMenuItem (not finished) 2017-12-16 15:47:16 +01:00
antograb d8acf6ebe8 Add ActionListener for QuitMenuItem 2017-12-16 15:15:39 +01:00
antograb f8623fdd7a Add Observer and Observable implementation
Add update method, notifyForUpdates methods
Currently not working
2017-12-16 14:51:39 +01:00
antograb 892d7e6ff3 Add maze in Model, then modify UI methods using maze. 2017-12-14 09:54:46 +01:00
antograb 94f4ab4e5a Add grid layout for the maze
Still have to add the maze to MazeAppModel and delete reference in ui
classes
2017-12-13 10:11:20 +01:00
antograb 0e398a7b57 Add UI package and JMenuBar 2017-12-11 11:42:01 +01:00
antograb c3e74a20f3 Merge branch 'lastDijsktraClasses' of antograb/TpMazeJava into master 2017-12-10 17:51:59 +01:00
antograb d836c2c9f0 Remove unneeded setters in Box.java
Remove compareTo in Box.java and VertexInterface
2017-12-10 17:21:26 +01:00
antograb d46b3c3b99 Fix List to ArrayList
Add toString method for Box
Add code to print the shortest path for this particular case.
2017-12-10 17:08:54 +01:00
antograb 8db8b3faad Remove unneeded javadocs in Maze.java 2017-12-10 11:57:52 +01:00
antograb fda73a2025 Fixed mistake were I used List instead of ArrayList 2017-12-10 11:38:33 +01:00
antograb 5f44829371 Merge branch 'fixRectangleMazeGeneration' of antograb/TpMazeJava into lastDijsktraClasses 2017-12-09 20:01:15 +01:00
antograb ec845a0da2 Added .gitignore 2017-12-07 14:35:17 +01:00
antograb 8a8eac7ac1 Added some documentation for classes and methods of modified files. 2017-12-07 14:29:04 +01:00
antograb 9d34134943 Added documentation for modified interfaces. 2017-12-07 11:51:14 +01:00
antograb d7368f7cda Fixed last dijkstra classes. Algorithm working for squared maze but bugs for non square mazes. 2017-12-06 22:30:58 +01:00
antograb 5d7c970e1b Added signature method for Dijkstra class. Fixed Previous et Pi class. 2017-12-04 13:36:14 +01:00
antograb 3b674f6049 Added Pi class. Modified Dijsktra and fixed Maze class. 2017-12-03 20:57:01 +01:00
antograb acab098ea1 Added packages, Previous class and ASet class. 2017-12-03 20:41:05 +01:00
antograb e2be5f8da9 Deleted original files 2017-12-03 16:37:30 +01:00
antograb 648dfc6b83 Added two separate folders for the src and the data. Added construction of maze from labyrinthe.txt. Added neighbourList generation for each box in the maze. Added writing into file the constructed maze. 2017-12-03 16:29:21 +01:00
antograb 6b92f5d725 [Beug] Added 2017-12-01 17:25:12 +01:00
antograb dbf4ea3ab5 Added MazeReadingException class 2017-11-25 08:50:22 +01:00
antograb cc3d30e74f Ajout des méthodes isArrival() et isDeparture() 2017-11-24 16:42:19 +01:00
antograb 676d159b1d implémentation interfaces done 2017-11-23 11:44:15 +01:00
antograb 36dd8ff805 Avancement sur l'implémentation des méthodes des interfaces. Penser à
continuer l'idée du neighbourList
2017-11-16 09:58:44 +01:00
antograb f7646c48f6 Avancement sur le tp. Implémentation (pas finie) des interfaces pour le
maze et Box.
2017-11-09 10:00:05 +01:00
antograb 0f7ef69441 Rajout de l'argument abstract dans Box.java 2017-10-27 20:52:52 +02:00
antograb ca8048efc5 Début TP. Pas encore implémenté la référence des Box concrètes sur le Maze 2017-10-27 19:38:00 +02:00