So i'm using pgrouting to compute shortest path on transit network, The cost of my graph is time, but the graph isn't "time dependent" - which means my arcs are available at every hour everyday, the cost is not the distance between station but the time it take to move from one point to another. I figured by doing the computation that pgr_astar (and even pgr_bdAstar) is slower than pgr_dijkstra. I thought it might be a heuristic problem. My questions is :
Is there a way to edit pgr_astar to insert your own heuristi
It's open-source, so yes you can, as long as you don't mind some C/C++: here. Still, what you likely want is one of the 6 built-in options:
All of which are fairly simple as it is.