Open yakra opened 5 years ago
Yes, there is something to do. Current ordering:
type | count |
---|---|
Straightforward concurrency: | 63983 |
Straightforward intersection: | 78299 |
Exit/Intersection: | 23849 |
3+ intersection: | 11292 |
Exit number: | 11509 |
Keep failsafe: | 11170 |
Worth noting that there are 3020 (21%) fewer labels keeping the failsafe now. And fewer everything else too. I assume that the figures in the OP are from when multiple concurrent systems were in place during FRA's breakup.
No discernable difference in processing time.
Python: Will not change. No point in cluttering up the repo with DIFFs that don't do anything. C++: I'll go ahead and change this anyway, as I'll be reorganizing this part of the code in the process of implementing https://github.com/TravelMapping/DataProcessing/issues/93
This will in fact need to change in Python, so as to not differ from C++ WRT the Straightforward intersection improvements.
From https://github.com/TravelMapping/DataProcessing/issues/90#issuecomment-557319736:
yakra@BiggaTomato:~/TravelMapping/yakra/DataProcessing/siteupdate/cplusplus/logs$ diff waypointsimplification.old waypointsimplification.i5 | egrep '^< Straightforward concurrency'
< Straightforward concurrency: L3238Her@L3238&L3238Mar@L3238 -> L3238Her/L3238Mar@L3238
< Straightforward concurrency: B279@B279&B279Hol@B279 -> B279/B279Hol@B279
< Straightforward concurrency: A329@A329_E&A329Rea@A329_E -> A329/A329Rea@A329_E
yakra@BiggaTomato:~/TravelMapping/yakra/DataProcessing/siteupdate/cplusplus/logs$ egrep 'L3238Her@L3238&L3238Mar@L3238|B279@B279&B279Hol@B279|A329@A329_E&A329Rea@A329_E' waypointsimplification.i5
Straightforward intersection: L3238Her@L3238&L3238Mar@L3238 -> L3238/L3238
Straightforward intersection: B279@B279&B279Hol@B279 -> B279/B279
Straightforward intersection: A329@A329_E&A329Rea@A329_E -> A329_E/A329_E
ddd602e6969734bd3d6c22908a58149dc40d422f
Python: 3+ before Exit# C++: Exit# before 3+
Don't necessarily want to strictly order by frequency. Worth considering...
This may already be done; could be there's nothing to do here.