SMA*
Also known as Simplified memory-bounded A*
search heuristic-search
SMA* (Simplified Memory-Bounded A*) runs A* on the search tree with at most M nodes in memory. When memory is full, it forgets the leaf with the largest f, and the parent remembers that child's value. The parent can then regenerate the child when it becomes the best part of the tree again. With an admissible heuristic (one that never overestimates), SMA* returns the cheapest path among those with at most M − 1 edges. So it is optimal when some optimal path fits in memory. Use it when A* runs out of memory and IDA* repeats too much work.
Pseudocode
algorithm SMA*(s₀, goal, h, M)input: start state s₀, goal test goal, admissible heuristic h, memory of M nodesoutput: a cheapest path among those with at most M − 1 edges, or failuref(s₀) ← h(s₀)OPEN ← {s₀} ▷ ordered by f, deepest first on tieswhile OPEN ≠ ∅ don ← min(OPEN)if f(n) = ∞ thenreturn failure ▷ a larger M may help if memory cut a pathif goal(n) thenreturn path-to(n)if n was never expanded thenC ← successors of n that are not on its pathelseC ← {the best forgotten child of n} ▷ regenerated with its remembered ffor each c in C doif depth(c) + 1 > M or (depth(c) + 1 = M and not goal(c)) thenskip ▷ the path to c does not fit in memoryelsef(c) ← max(f(n), g(c) + h(c)) ▷ never below the parent's valueadd c to the tree and to OPENwhile more than M nodes are in memory doℓ ← the leaf with the largest f, shallowest firstremove ℓ, and let its parent remember ℓ and f(ℓ)back up f to the ancestors of n ▷ smallest f of children, kept and forgottenreturn failureIn the crates
heuristic-searchA* within a node budget, forgetting and regenerating leaves; finds the cheapest path that fits in memory.
Lineage
Comes from
builds on A*
Led to
Nothing on this site.
Papers
- Efficient memory-bounded search methods Stuart Russell · 1992· Proceedings of the 10th European Conference on Artificial Intelligence (ECAI)