Commit Graph

60 Commits

Author SHA1 Message Date
Holt59
aab8743d3c New updates. 2018-03-25 14:35:15 +02:00
Holt59
5b733e25c7 Return unmodifiable iterators from Node and Graph. Make Node and Graph final. 2018-03-22 20:05:42 +01:00
Holt59
bdb378c079 Remove access to underlying containers inside Graph and Node. 2018-03-22 19:47:01 +01:00
Holt59
80b4b1c7fc Fix drawing for very small graph and add new projection for fake maps. 2018-03-21 20:39:46 +01:00
e2d1d47beb Fix Path.size() and add test for Path.size(). 2018-03-21 11:13:01 +01:00
Holt59
46436f81f3 Update paths and tests. 2018-03-20 21:31:01 +01:00
Holt59
d5fcf036b9 Fix issue with backward arc having incorrect segments. 2018-03-14 21:02:26 +01:00
Mikael Capelle
73f1c6bd78 Update Path javadoc. 2018-03-13 17:27:20 +01:00
Mikael Capelle
2624681499 Add Path, ShortestPath, etc. without implementation. 2018-03-13 14:09:40 +01:00
Holt59
251dbbb074 Fix issue with ArcBackward being drawn. 2018-03-12 21:12:31 +01:00
Holt59
19220dc8a4 Add code to transpose graph. 2018-03-12 20:58:35 +01:00
Holt59
95b68f3e31 Length -> Float. Fix issue with duplicated backward arcs. 2018-03-12 20:43:32 +01:00
Mikael Capelle
17da90c32c Update javadoc. 2018-03-12 17:13:02 +01:00
Holt59
94cbeef58f Close stream when reading/writing is done. 2018-03-11 21:59:55 +01:00
Holt59
97775a9714 add information regarding number of arcs in graph. 2018-03-11 20:34:16 +01:00
Holt59
23b46fd4bc Fix inconsistence between path reader and writer. 2018-03-11 20:34:05 +01:00
Holt59
f3964f1958 Use a better projection for BasicDrawing. 2018-03-11 15:50:54 +01:00
Holt59
094a2331af Clean code. 2018-03-10 20:39:21 +01:00
Holt59
84f01ce47e Add bounding-box in GraphStatistics. 2018-03-10 20:00:27 +01:00
Holt59
e0268c80af Fix Arc and add @deprecated javadoc for students to implement. 2018-03-09 21:26:38 +01:00
Holt59
440dc48c6a Merge new-length. 2018-03-09 21:15:03 +01:00
Mikael Capelle
f2bdc462a3 Fix .equals for Node. 2018-03-09 21:08:00 +01:00
Mikael Capelle
3e6bcb0665 Start updating length (int -> float). 2018-03-09 14:12:21 +01:00
Holt59
1a536dd759 Minor code cleaning. 2018-03-08 23:18:51 +01:00
Mikael Capelle
85fb193808 Update javadoc and clean naming. 2018-03-07 17:10:02 +01:00
Mikael Capelle
17fb363493 Make ArcForward non-public (hide implementation). 2018-03-07 16:51:26 +01:00
Mikael Capelle
04bddb0d34 Update javadoc, clean Arc implementation. 2018-03-07 16:51:03 +01:00
Mikael Capelle
1454e651dc Update javadoc. 2018-03-07 15:24:50 +01:00
Holt59
4b36838b26 Clean code. 2018-03-05 21:44:41 +01:00
Mikael Capelle
98aba8dd06 Improve arc memory management. 2018-03-05 17:58:59 +01:00
Mikael Capelle
3600752c43 Clean code, remove remaining debug attribute. 2018-03-05 17:55:32 +01:00
Holt59
e522eaa728 Add implementation comment for binary reader. 2018-03-04 21:41:47 +01:00
Holt59
8acc13c7f6 Change the way restrictions on arc are managed. 2018-03-04 21:22:52 +01:00
Holt59
d5de1cf2ff Update acces 2018-03-04 13:24:40 +01:00
Holt59
c07b55a535 Update RoadType enum. 2018-03-04 13:18:06 +01:00
Holt59
3ee2984e52 Start modification restrictions. 2018-03-04 13:17:20 +01:00
Holt59
ae082d0b8a Add extra information in graph. 2018-03-02 23:48:32 +01:00
Mikael Capelle
2e7a1c564a Add my AStar for computing path. Change ID and map names in file. 2018-03-02 17:49:30 +01:00
Mikael Capelle
25da6079e6 Clean access restriction usage. 2018-03-01 14:20:42 +01:00
Mikael Capelle
a51e16c3dd Rename getInfo -> getInformation. 2018-03-01 13:35:11 +01:00
Mikael Capelle
875a0c8518 Integrate access information in RoadInformation. 2018-03-01 13:33:56 +01:00
Holt59
6cc57631ad Rename binary readers, and separate the button in two. 2018-02-28 22:24:04 +01:00
Holt59
823ed07770 Add observers to GraphReader. 2018-02-27 23:23:22 +01:00
Holt59
20a64255aa Remove output. 2018-02-25 21:40:20 +01:00
Holt59
05c4f0da2a Try to improve mapsforge auto file detection. 2018-02-25 21:39:57 +01:00
Holt59
b192bb4f07 Add info panel for SP solutions. 2018-02-25 20:03:06 +01:00
Holt59
bc67e95f7f Switch from ArrayList to List in Graph. 2018-02-24 21:12:07 +01:00
Holt59
374e5e5f5c Update javadoc for graph package. 2018-02-24 21:08:52 +01:00
Holt59
adbb1f7e61 Fix javadoc for Point. 2018-02-24 21:03:05 +01:00
Holt59
d00e012497 Enforce immutability via final and unmodifiableList. 2018-02-24 21:02:04 +01:00