-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Feature] Extended route search algorithm #131
Comments
…o live search, added refresh/update functionality for each found route, added bulk route refresh function, added "meta map" route search (search on multiple maps), added route "filters" (restrict search on "stargates", "wormholes", "jumpbridges"), added route "filter" for wormholes (reduced/critical wormholes) closed #89 fixed "loop connections" on same system #84 added error messages for "invalid" CREST "Client ID" added "bootboxjs" (customized styled checkboxes/radio buttons) CSS only "Font Awesome" version upgrade 4.4.0 -> 4.61 "Bootbox.js" version upgrade 4.3.0 -> 4.4.0 fixed "system dialog" (added responsive layout)
[NEW] Extended route search. Features:
Screenshot from new "Routes finder" dialog |
This is awesome; much nicer than Siggy's actually I think. Thanks a heap for adding this. Quick question -- it's extremely slow for me, taking 45-60 seconds to load after clicking each system. Is this a performance deal on my host or a known issue? I'm also seeing this cause php-fpm worker processes to spike in CPU; sometimes as far as 100%. |
That s interesting. The "Dijkstra algorithm" is indeed CPU intensive, that´s true. But even on long routes (> 40 jumps), the calculating was done in < 100ms on my dev system.
Could you tell me the server specs you were testing at? |
Interesting. I'm running on a VPS that has 2 CPU cores and 1GB of ram and even on my local development machine which is a 2.4Ghz i5 Quad core I'm still seeing routes take in excess of 10 seconds. This is to the point where php-fpm is killing the script as it becomes long running. A run through the xdebug profiler and throwing it QCacheGrind shows all the time is indeed in the graph_find_path method. I'm running PHP 5.6, I'll try upgrading to 7 and see how we go. I'm using APC for caching. |
Hi, how difficult is it to implement Titan chains in this calculation? BTW, awesome work |
If they are mapped (e.g. you could use "jumpbridges" for them) they work out of the box. If you want a complete new type of connection, it will probably take some time to implement them. It works like:
|
Thanks, i think i can just map it as jumpbridges. |
@VivianMeally have you imported |
Nice, thank you. Clearing cache has done the job. Do i am need to clear the chace after pathfinder.sql import? Or bevor i do my first cronjob? |
After *.sql import. The "static" connections are cached for 24h. For some reason they were not up2date. :( Ill have look at this. Maybe I can automate this and/or fix it. |
There are some really cool features for the *Routes search" module in progress:
Example
The Future
The text was updated successfully, but these errors were encountered: