See this website for traffic data: http://www.dft.gov.uk/pgr/statistics/datatablespublications/roadstraffic/speedscongestion/roadstatstsc/roadstats08tsc Road Statistics 2008: Traffic, Speeds and Congestion
December 1, 2009
Tuesday: commencing the collection of papers …
Been on a trawl to find some starting papers for traffic models. Now just have to read them ;-)
Also this lady’s page (http://mae.ucdavis.edu/dsouza/) has got some interesting items … particularly the references to the BML model and the Explosive Percolation in Random Networks links.
November 29, 2009
Sunday: starting reading …
… up on traffic models. Some link of suspected use/interest over and above the standard spreadsheet:
-
Visualising Transport Data for Data.gov.uk http://itoworld.blogspot.com/2009/10/visualising-transport-data-for.html
-
SPARQLing data.gov.uk: Transport Data http://blogs.talis.com/n2/archives/836
- Something to do with TALIS — not quite sure what this is though http://n2.talis.com/wiki/Introduction_to_the_Platform
-
The Real Deal: data.gov.uk http://www.jenitennison.com/blog/node/115
-
Annual Average Daily Traffic Flows http://www.dft.gov.uk/matrix/
Good luck on the stylesheets everyone
November 10, 2009
Tue II: Completed unit tests for Car class …
Title kind of says it all. Car unit tests completed: am taking perverse geeky pleasure in re-running them and seeing that magic output from the console:
Ran 14 tests in 0.000s
OK
Hmmm, heavenly.
However next up is the unit tests for the World class. I think the _assignCars one is not going to be a hoot. Oh well, fun fun fun for tomorrow.
Tue I: more coding …
Getting there … today was trying to understand why I had inserted a particular inner loop, which in the end was the source of a bug. Continued writing unit tests, and will continue tonight.
Notes from meeting with VR F2F, Fri 6-Nov-2009 …
Keep going on model development, and focus on this as the primary goal, as the thesis depends on this.
Start thinking about what the thesis structure will look like: create an outline of the thesis in bullet point format — this will act as a “sign post” / goal for what the research needs to show and include.
Generic structure of thesis:
- Introduction (Motivation)
- The problem
- Overview of solution
- The wider case
- Structure of the document
- Background and related research
- Experiments — for each:
- Methods
- Results
- Discussion
- Conclusion
- Conclusion
- References
November 9, 2009
Mon: 2 steps forward, 1 step back …
Been messing around with code. Hmm, not going great, but have worked out logic for braking that appears fairly solid:
- work out distances between you and other cars
- if velocity is smaller than the distance, use velocity
- if distance is negative, ignore
- find the minimum value, i
- subtract 1 from i — this is the distance between current car and next car.
November 5, 2009
Thu II: More TDD delights …
Some links from today and yesterday of probable use:
- http://www.rexx.com/~dkuhlman/python_201/python_201.html Misc slightly advanced Python topics
- http://docs.python.org/library/unittest.html unit test documentation
- list of python beginner topics http://wiki.python.org/moin/BeginnersGuide/Programmers
Thu: I’ve seen the light …
… and TDD is wonderful. Links of use from today’s unit testing efforts:
… er, and that’s it: have referenced previous links prior. There was a good link I was using at home yesterday that I need to dig out. But this link: http://www.awaretek.com/tutorials.html seemed to have a bunch of interesting stuff in it, including using links to TDD approaches.
November 4, 2009
Wed: documentation FTW …
After last night’s coding session, where I refactored the TCA simulation into something reasonable, now going through the process of documenting the code, as did not exactly do a top-drawer job last night …. whoops. This page is excellent though on coding standards for Python: http://jaynes.colorado.edu/PythonGuidelines.html.
And then: onto Unit testing!!! In a bid to try and produce some code that is reliable going forwards. (Yes, doing this back to front I know, but noob at work here !)