sites like GoogleMaps have an option to not only find the shortest path on the road from city A to city B, but also the path that will take least time (different roads have different speed limits).
To find a shortest path from A to B, the heuristic is straighforward - it's simply the Euclidean distance (let's assume the map isn't too big) between the currently observed node and B.
What if we're interested in shortest time AND take the speed limit for a particular edge into consideration?
My guess is that the weights of particular nodes will be representing time taken to get there and the heuristic would be
(double) Euclidean_distance(node,B)/maximum_speedlimit_in_country
Is my guess correct or am I missing something?
Thank you in advance.