Commit Graph

207 Commits

Author SHA1 Message Date
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