Repository navigation
Implemented Tarjan's algorithm for removing dead-end nodes. - #235
Conversation
rodneyodonnell
commented
Jul 13, 2014
- Previous two pass algorithm didn't work optimally in all cases.
- Tarjan's is a single pass, and ~2x the speed.
- Added extra tests.
- Previous two pass algorithm didn't work in all cases. - Tarjan's is a single pass, and ~2x the speed.
|
Thanks! Looks good! Did you tried it for the world wide case? And how large can the stateStack container get for world wide? |
|
It build the planet file fine using -Xmx31000m. I'll add some temporary printf instumentation code and kick off a build of Rod. On Sun, Jul 13, 2014 at 11:40 PM, Peter [email protected] wrote:
|
|
BTW. What memory setting do you usually build planet with? I should make sure that still works too. |
|
I'm using |
|
It all works great for me. The Planet/Car/No-Elevation data builds fine with -Xmx24000m. The run time of removeDeadEndUnvisitedNetworks() is less than three minutes (not sure how long the two pass approach took). My diagnostics shows: |
Implemented Tarjan's algorithm for removing dead-end nodes. Replacing old two-pass algorithm.
|
Nice - thanks again! |
|
This pull request improved #226 |
…hopper#232) * reintroduce LongPressHandler for iOS * comment * popup menu above cursor is problematic * try to improve right-click popup * a bit tighter * really no close button necessary? * css style * hover should be centered * remove close button, graphhopper#235