Differential heuristic
heuristic multiobjective-search
A differential heuristic estimates distances from exact distances to and from a few chosen states, the landmarks. For a landmark L and a goal g, the triangle inequality gives d(v, g) ≥ d(L, g) − d(L, v) and d(v, g) ≥ d(v, L) − d(g, L); the heuristic takes the largest of these bounds over all landmarks, and at least zero. The crate does this for each objective on its own, with two Dijkstra searches per landmark and objective, and returns the vector of bounds. The estimate never overestimates, and it is consistent along every edge whose end can reach the goal, so exact multi-objective searches stay exact. Use it on a large, fixed graph that gets many queries to different goals.
Pseudocode
algorithm Differential-heuristic(LANDMARKS)input: landmark states LANDMARKS, a graph with N objectives and a finite reachable partoutput: a function estimate(v, t) that bounds the cost from v to the goal tfor each L in LANDMARKS dofor i in 1, …, N dod-from[L][i] ← dijkstra(L, objective i) ▷ d_i(L, x) for every xd-to[L][i] ← dijkstra-backward(L, objective i) ▷ d_i(x, L) for every xfunction estimate(v, t)for i in 1, …, N doh_i ← 0for each L in LANDMARKS do ▷ terms without a path are left outif d_i(L, t) and d_i(L, v) are known thenh_i ← max(h_i, d_i(L, t) − d_i(L, v)) ▷ triangle inequalityif d_i(v, L) and d_i(t, L) are known thenh_i ← max(h_i, d_i(v, L) − d_i(t, L))return (h_1, …, h_N)In the crates
multiobjective-searchDifferential heuristics for multi-objective search.
Papers
- Computing the shortest path: A* search meets graph theory Andrew V. Goldberg, Chris Harrelson · 2005· ACM-SIAM Symposium on Discrete Algorithms (SODA)
- Towards Effective Multi-Valued Heuristics for Bi-objective Shortest-Path Algorithms via Differential Heuristics Han Zhang, Oren Salzman, Ariel Felner, T. K. Satish Kumar, Shawn Skyler, Carlos Hernández Ulloa, Sven Koenig · 2023· International Symposium on Combinatorial Search (SoCS)
- Multi-Objective Search: Algorithms, Applications, and Emerging Directions Oren Salzman, Carlos Hernández Ulloa, Ariel Felner, Sven Koenig · 2025