Repository navigation
Fixes missing best path update for bidir algos when there is a loop at the meeting point (#1592) - #1606
Conversation
|
Hmm not sure what exactly failed the build for JDK11, but there are several warnings like this: ? |
|
@michaz could it be that this commit e8b5db9#diff-4db58d2546fb73b749d75a3df93f1c10 now requires this javax dependency in the reader-gtfs module too like in #1388? Or are some of the dependencies supposed to be |
|
I liberally use dropwizard from |
|
Ah, I thought we had found out that Dropwizard doesn't support newer Javas yet, and would wait for their update until we really support them? |
|
But if that |
|
Sorry, which |
|
What Peter was refering to was adding to the Don't know if that helps, and also don't know why the lack of that would fail on your branch but not on |
Ok thanks! Looks like the warnings are gone with this, but no idea why there should be a difference to master. Now the build passed. However I had to start it twice, the first time AppVeyor failed with this: and also this: Looks like it has a 5s time limit ? |
| edgeId = edgeId << 1; | ||
| if (reverse) | ||
| return (nodeA > nodeB) ? edgeId : edgeId + 1; | ||
| return (nodeA >= nodeB) ? edgeId : edgeId + 1; |
There was a problem hiding this comment.
Ah, this is a nice fix! (is it related to this issue?)
There was a problem hiding this comment.
Yes this is one of the two fixes needed here. Imagine a loop edge with nodeA==nodeB. If the edge key is not independent of reverse the bwd search does not find the SPTEntry of the fwd search in updateBestPath and vice versa.
Uhm, this is indeed strange as the travis config files are the same.
Thanks for letting us know. Will investigate if there is a hidden problem in our API service. |
TraversalMode.EDGE_BASED_1DIR(see Reduce TraversalModes to edge- and node-based. #1520)