After a long Thanksgiving break we jumped right into working on this.
All in the past two days Chris and I managed to get the Graph working with the list of stops in the right format to be used for DFS. Chris did a lot of work to get the list of connections for each stop in each stop object.
Today I implemented DFS and expanded my method to handle any number of goals. With some help from Nikita and his UI methods I was able to get the paths returned by the DFS drawn on the map.
Nikita also has the trains drawing on the map at the stops. He is working on expanding the functionality so we can draw trains in between stops and so far so good. Some of the trains are drawn in funky locations, but he's working on fixing that.
We're coming up on the final days of working on the project and we will definitely be able to meet our goals since there isn't too much left to do.
Friday, November 30, 2012
Sunday, November 18, 2012
More Progress
Yesterday I refined the Stop class to include the stopID I found in another resource on the MBTA site. With the stopID included as a field we can now determine what stop a train is at just by looking at the stopID of the train's predictions.
Hopefully Chris and Nikita can turn the list of stops into a tree or graph so we can implement the depth first search in a few days.
Hopefully Chris and Nikita can turn the list of stops into a tree or graph so we can implement the depth first search in a few days.
Thursday, November 15, 2012
Pulling Out All the Stops
Today I generated a list of Stop objects from the CSV file on the MBTA site.
First, I clipped unnecessary columns from the CSV file and then I converted it into JSON so I could run it through the Jackson JSON processor.
Right now we don't use the list of stops for anything, but we will soon begin implementing the path finding algorithm to generate routes.
Today I also added some much needed commenting and helped Chris with code to update the Line data every 10 seconds.
Finally, I helped Nikita set up TortoiseGit to merge his changes to the Views class with the changes Chris and I made.
Next I'll be working on getting the JTable in the Views class to update when new Line data is received.
First, I clipped unnecessary columns from the CSV file and then I converted it into JSON so I could run it through the Jackson JSON processor.
Right now we don't use the list of stops for anything, but we will soon begin implementing the path finding algorithm to generate routes.
Today I also added some much needed commenting and helped Chris with code to update the Line data every 10 seconds.
Finally, I helped Nikita set up TortoiseGit to merge his changes to the Views class with the changes Chris and I made.
Next I'll be working on getting the JTable in the Views class to update when new Line data is received.
Tuesday, November 13, 2012
Previous Contributions
Our group hasn't gotten a chance to work on the Trip Planner since our presentation.
Before that presentation I used the Jackson JSON Processor to hook up all the classes, that were all written by Chris, to the MBTA data. This consisted of retrieving the JSON data, running it through the parser, and then creating objects with the values in the proper fields.
I also worked with Nikita to put the MBTA data into the tables on the visual interface that he created with Ed. This was as simple as accessing getter methods that we wrote for the fields in all of our objects.
Before that presentation I used the Jackson JSON Processor to hook up all the classes, that were all written by Chris, to the MBTA data. This consisted of retrieving the JSON data, running it through the parser, and then creating objects with the values in the proper fields.
I also worked with Nikita to put the MBTA data into the tables on the visual interface that he created with Ed. This was as simple as accessing getter methods that we wrote for the fields in all of our objects.
Software Development Blogging
This will be where I'll post updates about the MBTA Trip Planner we're developing for Software Development.
Subscribe to:
Posts (Atom)