|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
IDA* (Iterative Deepening A*) shortest path algorithm. More...
#include <limits>#include <cmath>#include <type_traits>#include <tpl_graph_utils.H>#include <ah-errors.H>#include <AStar.H>Go to the source code of this file.
Classes | |
| struct | Aleph::Chebyshev_Heuristic< GT, Distance > |
| Chebyshev (L-infinity) distance heuristic for 8-connected grids. More... | |
| class | Aleph::IDA_Star< GT, Distance, Heuristic, Itor, SA > |
| IDA* algorithm for memory-efficient shortest path search. More... | |
| struct | Aleph::IDA_Star< GT, Distance, Heuristic, Itor, SA >::SearchResult |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
IDA* (Iterative Deepening A*) shortest path algorithm.
Implements the IDA* algorithm, a memory-efficient variant of A* that uses iterative deepening with a cost threshold. Each iteration performs a depth-first search bounded by f(n) = g(n) + h(n), where g(n) is the cost from start and h(n) is the heuristic estimate.
| Aspect | Complexity |
|---|---|
| Time | O(b^d) (same as A* asymptotically) |
| Space | O(d) (linear in solution depth) |
Definition in file IDA_Star.H.