-
Notifications
You must be signed in to change notification settings - Fork 8
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
A* algorithm #69
Comments
Hi Alexey, thanks for creating an issue. There is currently no routing algorithm implemented in this repository. However, a simple Dijkstra algorithm should be fairly easy to implement, and I was thinking of adding for an example. Do you have a specific use-case in mind? |
It is good to make A* algorithm for routing using data from osmtoroadgraph. Knowing start and goal node it will make shortest itinenary. I know 2 main routing algorithms. I got a question with good answer here about dijkstra algorithm so you could add function from AJNeufelds answer (because it is faster a little rather than my) or dijkstra function my question :). By the way I have A* algorithm with heristic, as far as I tested it it is working fine, but I am a newer and my code as far as I am presume is 'dirty' and not so readable. I can send it to you to read if you want. And I do not think dijkstra algorithm is a good solution for routing problem if we use OSM data, because there is thousands and thousands of nodes (if we take one city) and it will calculate route an enourmous amount of time. Thats is only the city, what about region? That isnt good |
sorry for the long silence. I'm working in the background on a bigger change to the project which should make using routing algorithms quite simple. Currently, I'm working on this PR #70 |
Do you have A* algorithm for routing (using data which is got from osmtoroadgraph)?
The text was updated successfully, but these errors were encountered: