We continue to make steady progress on the Trip Planner.
Yesterday we cleaned up a lot of the GUI and fixed some redrawing issues we had with the map not clearing old train locations.
Chris is working on expanding my DFS methods to work with unordered lists of stops.
Nikita and I are working on cleaning up the GUI and hooking all of the tables and buttons up to our methods. As of yesterday we now can add stops to a table from a list. The table holds the stops a user wants to visit. Today we will be hooking that up to the DFS method to provide the Trip Planning functionality.
We also implemented linear interpolation to place the trains in between stops on the map. Instead of simply drawing the trains at the midpoint between two stops the position is now calculated based on the time until the train reaches the next stop.
Another important addition is that the trains now display in different colors based on their direction on each line. We will most likely draw them as arrows or somehow show this direction in a later update.
On top of all of that, Nikita has begun work on displaying train information when you mouse over them. We plan to use this implementation for stops, possibly to select stops for trip planning if we have time to get that working.
Ed has begun and will be writing test cases for all important methods that we've written to ensure that our code does what we claim it does.
No comments:
Post a Comment