Commit Graph

172 Commits

Author SHA1 Message Date
Mikael Capelle
ddcc6dc06f Update path panel. 2018-03-05 19:27:30 +01:00
Mikael Capelle
b77a39e01b Allow modification of color for overlays. 2018-03-05 18:35:01 +01:00
Mikael Capelle
98aba8dd06 Improve arc memory management. 2018-03-05 17:58:59 +01:00
Mikael Capelle
be1176c1e3 Clean code. 2018-03-05 17:58:20 +01:00
Mikael Capelle
3252a6faba Clean code + Fix issue with right-to-left map names. 2018-03-05 17:57:06 +01:00
Mikael Capelle
6be3493bba Clean code. 2018-03-05 17:55:51 +01:00
Mikael Capelle
3600752c43 Clean code, remove remaining debug attribute. 2018-03-05 17:55:32 +01:00
Holt59
7e06e1c4bf Create an ArcFilter factory. 2018-03-04 22:53:47 +01:00
Holt59
dc3a9b9860 Improve display of PathsPanel. 2018-03-04 21:54:58 +01:00
Holt59
e522eaa728 Add implementation comment for binary reader. 2018-03-04 21:41:47 +01:00
Holt59
a1be0fc586 Fix marker size. 2018-03-04 21:24:30 +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
92af449178 Create new class to have better scaling for markers with MapView. 2018-03-03 23:55:53 +01:00
Holt59
55dfcbd0fe Improve markers rendering. 2018-03-03 23:25:48 +01:00
Holt59
2f1fa81a58 Resize path panel correctly when removing a path. 2018-03-03 22:44:30 +01:00
Holt59
1653558f94 Move BinaryHeap. 2018-03-03 22:17:02 +01:00
Holt59
85025f6189 Update panel. 2018-03-03 22:14:02 +01:00
Holt59
a5764948f9 Add path panel separated from solution panel. 2018-03-03 20:40:47 +01:00
Holt59
f22c1c93fa Make solution panel a bit more generic using reflections. 2018-03-03 20:06:38 +01:00
Holt59
6d8c2462ab Improve reflections to make the input panel more generic. 2018-03-03 19:26:56 +01:00
Holt59
738b23d253 Update MainWindow id. 2018-03-03 18:32:26 +01:00
Holt59
89b6bc5819 Fix issue with observers. 2018-03-03 18:21:16 +01:00
Holt59
bcfc8dac3d Change cursor above button. 2018-03-03 15:51:03 +01:00
Holt59
eb174d379d Move images to res/. 2018-03-03 15:46:26 +01:00
Holt59
701a94784e Merge branch 'zoom-controls' 2018-03-03 15:45:25 +01:00
Holt59
8e68377772 Fix issue with nodes input panel getting enabled by indavertance. 2018-03-03 15:45:21 +01:00
Holt59
f56d735d90 Add zoom controls to mapview drawing, avoid triggering drawingclick events with zoom control. 2018-03-03 15:36:35 +01:00
Holt59
dede97bc68 Add zoom controls to basic drawing. 2018-03-03 15:23:08 +01:00
Holt59
7827bfc63c Reorganize code. 2018-03-03 13:43:03 +01:00
Holt59
bc70c4267d Update polyline auto scaling width. 2018-03-03 12:48:55 +01:00
Holt59
6ae4e88d23 Add comments. 2018-03-03 00:43:38 +01:00
Holt59
0622f9fa83 Remove output in MapView. 2018-03-03 00:41:55 +01:00
Holt59
6768374b92 Add possibility to select in the interface the filtering of the arcs for ShortestPath. 2018-03-03 00:27:54 +01:00
Holt59
5b3690b982 Fix tests. 2018-03-02 23:49:14 +01:00
Holt59
be94c670b7 Update graphics. 2018-03-02 23:48:57 +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
4017577269 Instance -> Data. 2018-03-02 15:30:55 +01:00
Mikael Capelle
e111b5f0e6 Add option to specify observers for shortest-path. 2018-03-02 11:45:43 +01:00
Mikael Capelle
19832321aa Move solution panel inside shortest-path panel. 2018-03-02 11:35:02 +01:00
Mikael Capelle
d442a7e910 Update some parameters to improve performances of MapViewDrawing. 2018-03-02 11:19:00 +01:00
Mikael Capelle
bd1c393053 Fix issue with dialog not being shown up relative to the MainWindow. 2018-03-02 11:18:38 +01:00
Mikael Capelle
23fa24377d Fix issue with solution panel when a new graph was loaded. 2018-03-02 11:03:43 +01:00
Holt59
4fae0e890c Rename getInstance() -> getInputData(). Override getInputData() in solution classes to return correct type instead of abstract one. 2018-03-01 21:20:17 +01:00
Holt59
2fdaf30510 Fix issue in solution panel. 2018-03-01 21:14:54 +01:00
Holt59
5d28e12903 Update solution panel. 2018-03-01 21:10:34 +01:00
Mikael Capelle
08fd7120f2 Create new solution panel. 2018-03-01 19:51:37 +01:00
Mikael Capelle
8bca08f795 Synchronize overlays operations in BasicDrawing. 2018-03-01 19:51:14 +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
Mikael Capelle
0963f4a12f Use arc instead of only road type to find width and color for drawing. 2018-03-01 13:33:28 +01:00
Mikael Capelle
e15d04eda9 Close ProgressBarDialog on failure. 2018-03-01 13:32:25 +01:00
Holt59
55e4f4dfdc Set default transform to ZoomAndPanListener to avoid bunch of exceptions. 2018-02-28 23:03:02 +01:00
Holt59
6cc57631ad Rename binary readers, and separate the button in two. 2018-02-28 22:24:04 +01:00
Holt59
a4e7a6f708 Fix issue with NodesInputPanel getting enable when clearing threads. 2018-02-28 21:06:08 +01:00
Holt59
03a26ab083 Do not draw oneWay arc twice. 2018-02-28 20:57:52 +01:00
Mikael Capelle
bcb9faa6b2 Fix issue in ProgressBar when number of nodes/descs/arcs was less than 100. 2018-02-28 20:10:43 +01:00
Holt59
575eb71e64 Fix issue with startAlgoButton when enabling the ShortestPathPanel. 2018-02-27 23:35:06 +01:00
Holt59
592ef40e54 Remove debug output. 2018-02-27 23:27:29 +01:00
Holt59
094840f152 Center progress bar on drawing. 2018-02-27 23:27:18 +01:00
Holt59
823ed07770 Add observers to GraphReader. 2018-02-27 23:23:22 +01:00
Holt59
7b2f3f3549 BasicDrawing now create a new image for each new graph to have better scaling. 2018-02-27 22:24:49 +01:00
Holt59
43835e4837 Remove drawPoint, switch to PointSetOverlay. 2018-02-27 22:09:57 +01:00
Holt59
42f38bb758 Switch JUnit 5 -> Junit 4. 2018-02-27 18:24:28 +01:00
Holt59
7de61ac27e Fix visiblity issue with markers in NodesInputPanel. 2018-02-26 20:29:05 +01:00
Holt59
1a664b8a3c Modify connection between MainWindow and the NotesInputPanel. 2018-02-26 11:31:00 +01:00
Holt59
791ea13d5e Add more info in status bar. 2018-02-25 22:37:34 +01:00
Holt59
b3aaaf8d10 Update BinaryHeap tests. 2018-02-25 22:23:27 +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
d4b1ef0481 Remove unused constructor of BasicPathOverlay. 2018-02-25 20:17:39 +01:00
Holt59
1f06fc1eec Link inputs directly to MainWindow to avoid issue when loading new graph/redrawing. 2018-02-25 20:16:10 +01:00
Holt59
b192bb4f07 Add info panel for SP solutions. 2018-02-25 20:03:06 +01:00
Holt59
1cb11975a6 Remove main from ShortestPathPanel. 2018-02-25 19:25:25 +01:00
Holt59
96ca2b3a8a Add path overlays functionality. 2018-02-25 19:17:26 +01:00
Holt59
71202409b8 Rename some classes. 2018-02-25 18:34:48 +01:00
Holt59
ae460ff454 Remove drawLine. Better overlay for BasicDrawing. 2018-02-25 18:33:46 +01:00
Holt59
467253f9bb Re-organize code. 2018-02-25 18:13:22 +01:00
Holt59
29051be12b Create OverlayTracker as a prent of MarkerTracker to allow tracking of other objects. 2018-02-25 18:12:15 +01:00
Holt59
6bc633e5bb Add shortest path panel. 2018-02-25 17:44:27 +01:00
Holt59
b6eb6d97ea Switch from int to byte for color in markers. 2018-02-25 16:50:16 +01:00
Holt59
422a3267ca Add possibility to show/hide a marker after its creation without having to delete/recreate it. 2018-02-25 16:43:37 +01:00
Holt59
9ae576a058 Fix size issue for point vs. marker. 2018-02-25 12:48:21 +01:00
Holt59
fc44ad93c3 Remove unwanted output. 2018-02-25 12:44:43 +01:00
Holt59
9acdc998b3 Improve overlay management for BasicDrawing. 2018-02-25 12:44:15 +01:00
Holt59
481e30e80c Add way to track drawn Markers on map and delete/move them. Delete not implemented for BasicDrawing. 2018-02-25 12:10:59 +01:00
Holt59
a9ab69965e Remove zoom limit in MapViewDrawing. 2018-02-25 01:17:55 +01:00
Holt59
5ccdbc9417 Fix issue that was shrinking the drawing when redrawing. 2018-02-25 00:36:17 +01:00
Holt59
0236798ef5 Fix isValid(). 2018-02-24 21:57:56 +01:00
Holt59
f736bf3005 Add implementation of methods for Path (for testing purpose... ). 2018-02-24 21:23:24 +01:00
Holt59
ccad590007 Switch ArrayList -> List. Fix ambiguous javadoc. 2018-02-24 21:18:45 +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
Holt59
7640fa34c7 Switch to static methods for creating paths from nodes. 2018-02-24 20:55:23 +01:00