Repository navigation
Conversation
…maxLevel => the other point is always a lower or same level => lower not possible as outgoing => same level
…icle, later chFlagEncoders will be used
|
Peter graph preparation seems more limited now. By studying the PR I see in Also the |
|
Graph preparation is not limited. But thanks, that is a mistake :) ! Turn restrictions is only possible for
'preparation' is only done for CH. |
|
Ok! I chose wrong word, by "prepare" I was meaning "build" graphs. |
|
Yes, thanks! |
|
@devemux86 would you check if you also get a dramatical slow down on your devices. I've an old device and seeing now a lot slower than before. Not sure if we should release with that now :( |
|
Or if I should fix #339 before .. hmmh |
|
@karussell you mean with CH off ? |
|
CH off should be unchanged. CH on will be very slow, still not sure why not only 20% ... |
|
Ok I'll try CH with 1 vehicle. |
this should build and import with more vehicles, but only one vehicle (default vehicle) should be picked for CH |
|
Yes I have studied the new code changes and the docs. |
|
oh, okay. will have a look |
|
Ok your example (foot,car) and default car works. For the record my settings that fail are: and Elevation enabled for bike2 |
I have made some tests with CH, specifically on older devices and unfortunately you are right. (Lately I prefer playing with CH off, as I find Bidirectional A* fast and of course able to use multiple vehicles, TR and elevation) |
|
@jansoe what do you mean?
how fast is it for, say a 300km route on a recent device? (I have only a 4 year old samsung ;)) BTW: elevation can be used with CH |
|
@devemux86 would you try to compare with a sorted graph? (or do you already have it enabled?) |
|
No I didn't used a sorted graph. I'll make more tests. |
|
I tried that and with extremely large routes >500km and even on powerful mobiles (also on Atlas at pc) and I think (unless I'm doing something wrong!) that CH on / off states appear to me with similar performance (without certainly an observable difference). |
|
sorry was in a rush, I just wanted to point to that exception I currently get, but don't yet fully understand. |
|
Ah, okay. Yes that is the same problem Emux has, will take a look. @devemux86 thanks for the feedback! What is your best way to profile android apps on the device - simply include StopWatch or are there more efficient ways? |
|
Eclipse has device monitors via ADT and AS has also some new monitors. |
|
Okay, the problem is a simple one: levelFilter is null in PrepareContractionHierarchies.createAlgo IF the graph was already prepared and e.g. loaded from disc. If it was prepared and the routes are executes all was fine. So it occured on the Desktop too, will fix. Thanks @jansoe for pointing me to this! |
|
This speed anomaly is now documented and fixed in #349 |
|
The other bug @devemux86 mentioned is now reported here #350 (will be fixed soon) |
|
Please let me know if this is working as expected (and only 20% or less slower), then we'll postpone #339 and release |
|
Hi Peter, just curious to know: |
|
We disconnect higher to lower shortcuts and filter away higher to lower edges. |
This pull requests fixes #116 and does the following