Proper subclassing of Dijkstra since A* is Dijkstra optimized with heuristics