Merge the last Dijkstra classes #7

Merged
antograb merged 18 commits from lastDijsktraClasses into master 2017-12-10 16:51:59 +00:00
18 Commits
Author SHA1 Message Date
regar42 b59a8436dd Merge branch 'fixUnneededCode' into lastDijsktraClasses 2017-12-10 17:48:34 +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
regar42 5d75a82103 Merge branch 'javadoc' into lastDijsktraClasses 2017-12-10 15:40:43 +01:00
regar42 4d1d3b39a2 Add documentation and fix Javadoc warnings
* Describe the aim of the interfaces
* Explain what are the box inherited from Box
* Fix Javadoc warnings by specifying the parameters and returns of the
  methods in the interfaces
2017-12-10 15:27:57 +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
regar42 ebb91b01b3 Code cleanup
* Remove unwanted getters and setters
* Properly handle object passed to constructors
* Remove redundant condition check on ASet.contains()'s return
* Make Maze.initFromTextFile() private
2017-12-10 00:02:20 +01:00
regar42 eb1e7a8bc0 Sharpen getCost and improve wallbox handling
* Rewrite getCost() from Maze to remove unneeded
  isWalkable checks on boxes
* Return an empty neighbor list for wall boxes
  (in generateNeighbours() from Maze)
2017-12-10 00:02:15 +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
regar42 bc1886ca94 Fix rectangle maze generation
Switch compteurColonne and compteurLigne
Despite their names, compteurColonne and compteurLigne
respectively represent the x and y coordinates
2017-12-07 10:59:07 +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