Repository navigation
traveled graph implementation (Python) - #201
Conversation
in preparation for "traveled" graph implementation
* Separate collection of "traveled" edges implemented. * fmt_mask allows new collapsed/traveled edges to be constructed together or separately as needed. * HighwayGraph.matching_vertices calculates & returns # of vertices for traveled graph, though this info is not used yet. * Traveled graph partially implemented: for now, just a glorified collapsed graph with a few extra vertices & edges. * Traveler numbers and hex codes are not yet implemented. * Subgraphs are not yet implemented..
* Subgraphs partially implemented: for now, just glorified collapsed graphs with a few extra vertices & edges. * Traveler numbers and hex codes are not yet implemented.
|
|
I like 2.0 and I like adding the format to every filename. I can easily enough revamp the download page. I think HDX would be good, it would just start loading up the -collapsed graphs from the list in the DB. More interesting will be to bring in user stats there for display and use in the algorithms. |
|
OK. For now, the existing filenames are retained in this PR. |
|
Makes sense to me to link to HDX-Lite pages. I think that whole page needs a little thought anyway now with 3 graph formats per subgraph. |
In theory, saves a tiny bit of time. In practice, not a noticeable amount. :)
(if -> elif) into tmg2_python
(if -> elif) into RelevantTrav
(minor datacheck speed improvements) into tmg2_python
(minor datacheck speed improvements) into RelevantTrav
(duplicate label comments) into tmg2_Python
(duplicate label comments) into RelevantTrav
|
I am about 2 weeks away from what I hope is a chance to merge this in and make corresponding changes to get the new format graphs listed on the web site and to get the format documented for potential users. |
Thanks, good to know.
Should I go ahead and make the change to
Let's get #199 sorted before moving ahead. Two questions, should I:
|
terminal LF -> tmg2_Python
terminal LF -> RelevantTrav
Yes, let's go for it all in one shot.
I think yes to both with an eye toward ease of parsing for potential users. |
RelevantTrav into tmg2_Python
All three changes are now live in this branch. |
* 12% speedup Augmenting travelers for detected concurrent segments * 34% speedup Creating per-traveler stats log entries and augmenting data * 1.7% speedup for subgraph generation. Maybe.
|
LOL, why not a benchmark. And nothing wrong with that, traveled graphs will be super neat to have. :) Also added a commit to address #203. |
|
The time has come. I'm bringing this in. I'm going to try it out on my Mac and will make corresponding changes to the graph downloads page (TravelMapping/Web#299) before putting to use for the production site updates on noreaster. |
Implements #196 in Python