Join Nostr
2024-09-28 20:31:17 UTC

alcinnz on Nostr: The most basic formula for calculating directions from location A to B is Dijkstra's ...

The most basic formula for calculating directions from location A to B is Dijkstra's Algorithm a.k.a. Uniform Cost Search.

This involves repeatedly popping the closest intersection off a priority queue & enqueueing all its neighbours. Adding the road's distance to the distance to this intersection as the priority in that priority queue.

Yesterday I discussed how in our string-centric hardware we'd use an edgetable keyed by DGGS IDs to represent the road network. So this priority queue?

1/3?