D Lite* is an incremental heuristic search algorithm designed for efficient replanning of shortest paths in partially known or dynamic environments. It is a simplified, optimized version of the D* algorithm, built upon the principles of Lifelong Planning A (LPA)**. Instead of recalculating a path from scratch after an environmental change, D* Lite reuses information from previous searches, focusing computational effort only on the affected parts of the graph. This makes it highly efficient for real-time applications where obstacles appear, disappear, or edge costs change while an agent is in motion.
Glossary
D* Lite

What is D* Lite?
D* Lite is a key incremental search algorithm for dynamic path replanning, enabling efficient navigation for autonomous systems in changing environments.
The algorithm maintains two cost estimates for each node: a g-value (actual cost from the start) and a rhs-value (one-step lookahead cost). A node is consistent if these values match; inconsistencies are managed in a priority queue. When a change is detected, D* Lite updates the rhs-values of affected nodes and repairs inconsistencies, propagating cost changes efficiently towards the agent's current position. This localized repair process is far faster than a global replanning, making D* Lite a cornerstone algorithm for autonomous mobile robots and dynamic fleet orchestration in logistics and warehousing.
Key Features of D* Lite
D* Lite is an incremental heuristic search algorithm designed for efficient replanning in dynamic or partially known environments. It reuses information from previous searches to update paths faster than replanning from scratch.
Incremental Search
The core innovation of D* Lite is its incremental nature. Instead of discarding all previous calculations when the environment changes, it reuses the results from the last search. It updates only the parts of the graph affected by cost changes, recalculating rhs-values (one-step lookahead estimates) and g-values (actual path costs) for impacted nodes. This makes it dramatically more efficient than repeatedly running A* from scratch in dynamic scenarios.
Lifelong Planning Framework
D* Lite operates within a lifelong planning paradigm, where an agent continuously executes a plan while simultaneously repairing it based on new sensor information. The algorithm maintains two key estimates for each node s:
- g(s): The start distance (cost from start to
s). - rhs(s): A more efficiently maintainable one-step lookahead value, defined as
rhs(s) = min_{s' in Pred(s)}(g(s') + c(s', s)), wherePred(s)are predecessors ofsandcis the edge cost. A node is consistent ifg(s) = rhs(s). Changes in edge costs create inconsistencies, which the algorithm efficiently propagates.
Backward Search from Goal
Unlike forward search algorithms like A*, D* Lite performs a backward search from the goal state to the start. This orientation is crucial for efficiency in replanning. When the agent moves and the start state changes, the algorithm does not need to re-initialize the entire search. It simply updates the agent's new start position and continues repairing the tree rooted at the unchanged goal. This is particularly effective when the goal is static but the start (agent position) and edge costs are dynamic.
Heuristic Reuse & Efficiency
D* Lite leverages a heuristic function h(s, s') to focus the search, similar to A*. Its key efficiency gain comes from reusing these heuristic values and the priority queue key structure k(s) = [k1(s), k2(s)] across replanning episodes. The two-component key:
k1(s) = min(g(s), rhs(s)) + h(s_start, s) + kmk2(s) = min(g(s), rhs(s))Thekmmodifier accounts for cumulative cost changes since the start of the search, allowing the queue to remain valid between replans without full recalculation.
Optimality Guarantees
D* Lite provides strong theoretical guarantees under defined conditions:
- Completeness: It will find a path if one exists.
- Optimality: It guarantees the first path returned is optimal (shortest) based on the current known graph. Subsequent repaired paths remain optimal with respect to the updated cost information.
- Efficiency: Its time complexity is
O(m log n)for processingmedge updates overnnodes, which is far superior to theO(n log n)of a full A* replan for each change in large graphs.
Practical Applications & Variants
D* Lite is foundational in robotics and autonomous systems:
- Robot Navigation: Used for real-time path replanning for mobile robots as they discover new obstacles.
- Focused D Lite*: A variant that restricts repair to a subset of states relevant to the current path, improving speed.
- Field D*: An extension for continuous terrain, allowing smoother paths by planning through cell corners rather than cell centers.
- Multi-Agent D Lite*: Adapted versions for coordinating paths of multiple agents by incorporating temporal reservations.
D* Lite vs. Lifelong Planning A* (LPA*): A Comparison
A direct comparison of two seminal incremental search algorithms for replanning in dynamic environments, highlighting their core mechanisms, efficiency, and typical applications in robotics and logistics.
| Feature / Metric | D* Lite | Lifelong Planning A* (LPA*) |
|---|---|---|
Primary Optimization Goal | Goal-directed path replanning from the current agent position. | Goal-directed path replanning from the start position. |
Core Incremental Mechanism | Reuses and repairs previous search tree from the goal backwards. | Reuses and repairs previous search tree from the start forwards. |
Initial Environment Knowledge | Partially known or completely unknown. | Fully known initial graph. |
Handling of Edge Cost Changes | Efficiently updates for changes discovered during execution (e.g., new obstacles). | Efficiently updates for changes to a known graph (e.g., traffic updates). |
Typical Application Context | Robotic navigation in unknown or partially mapped terrain. | Path planning on a known map with dynamic cost updates. |
Underlying Algorithmic Foundation | Built upon the principles of LPA*, but reverses search direction for efficiency in goal-directed replanning. | Incremental version of A*, maintaining consistency of g-values and rhs-values. |
Key Data Structures | Priority queue ordered by keys [min(g(s), rhs(s)) + h(s); min(g(s), rhs(s))]. | Priority queue ordered by keys [min(g(s), rhs(s)) + h(s); min(g(s), rhs(s))] (identical foundation). |
Computational Efficiency for Single Replan | Highly efficient, often re-expanding only a subset of states affected by cost changes. | Highly efficient, often re-expanding only a subset of states affected by cost changes. |
Real-World Applications of D* Lite
D* Lite is designed for environments where the map changes after a path is planned. Its efficiency in reusing previous search results makes it ideal for systems that must adapt in real-time.
Unmanned Ground & Aerial Vehicles
In military and search-and-rescue operations, unmanned ground vehicles (UGVs) and drones operate in partially known, hostile terrain. D* Lite enables these vehicles to navigate towards objectives while adapting to newly discovered obstacles (e.g., destroyed bridges, enemy positions) or changes in terrain cost (e.g., muddy areas). Its incremental nature allows for frequent, low-overhead replanning, which is essential when sensor data is streaming in real-time and computational resources on the vehicle are limited.
Dynamic Video Game AI
Non-player character (NPC) pathfinding in complex real-time strategy (RTS) games or open-world environments can use D* Lite. When the game world changes dynamically—such as a bridge being destroyed, a building constructed, or an area becoming temporarily impassable—hundreds of AI units need to reroute. Replanning from scratch for each unit every frame is computationally prohibitive. D* Lite allows the game engine to update paths efficiently, recalculating only for units directly impacted by the change, ensuring smooth gameplay.
Real-Time Strategy & Simulation
Beyond video games, D* Lite is applied in high-fidelity military simulations and operational planning tools. These simulations model complex scenarios where the "cost" of traversing an area can change based on simulated events like chemical contamination, crowd movements, or weather effects. Planners can run what-if analyses, and the simulation uses D* Lite to instantly show how optimal unit paths would change in response to these dynamic conditions, enabling better contingency planning.
Assistive & Service Robotics
Service robots, such as hospital delivery bots or guide robots in public spaces, operate in highly unstructured environments shared with people. Their paths are constantly invalidated by moving furniture, closing doors, or crowds. D* Lite provides a robust method for these robots to replan on-the-fly while being energy-efficient—a key concern for battery-operated platforms. The algorithm's ability to minimize recomputation helps ensure the robot remains responsive and safe without excessive power drain.
Comparison to Related Algorithms
Understanding D* Lite's niche requires comparing it to key alternatives:
- A*: Optimal for one-time planning on a static map. Must replan entirely from scratch for any change.
- D*: The original dynamic replanner; D* Lite is a simplified, more efficient version that produces identical paths.
- Lifelong Planning A (LPA)**: The algorithm upon which D* Lite is built. D* Lite is essentially LPA* adapted for moving-target search, making it better suited for robotics where the start point (the robot) moves.
- RRT/PRM*: Sampling-based planners good for high-dimensional spaces but not inherently incremental; they typically rebuild the roadmap for major changes.
Frequently Asked Questions
D* Lite is a foundational algorithm for dynamic path planning in robotics and logistics. These questions address its core mechanics, applications, and how it compares to other search methods.
D* Lite is an incremental heuristic search algorithm designed for efficient replanning of shortest paths in partially known or dynamic environments. It works by reusing and updating information from previous searches when edge costs in the graph change, rather than planning from scratch. The algorithm maintains two estimates for each node: a g-value (current best known cost from the start) and a rhs-value (one-step lookahead cost based on neighbors' g-values). A node is consistent if its g-value equals its rhs-value. When an edge cost change is detected, D* Lite updates the rhs-values of affected nodes and uses a priority queue to efficiently reorder and repair the inconsistency, propagating cost changes only where necessary to find a new optimal path to the goal.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
D* Lite operates within a rich ecosystem of search, planning, and optimization algorithms. These related concepts are essential for understanding its role in dynamic pathfinding and priority-based routing.
Dynamic Replanning
Dynamic replanning is the broader capability of a system to modify its plan during execution due to environmental changes. D* Lite is a specific, optimal algorithm for this problem in pathfinding. Key challenges in dynamic replanning that D* Lite addresses include:
- Minimal Re-computation: Updating only the parts of the graph affected by change.
- Consistency Maintenance: Ensuring the robot's path remains optimal after each update.
- Real-Time Performance: Providing new directions before the agent reaches a conflict point.
Heuristic Function
A heuristic function, often denoted h(s), estimates the cost from any state s to the goal. In D* Lite, as in A*, this heuristic must be admissible (never overestimate) to guarantee path optimality. Common heuristics for grid-based pathfinding include:
- Manhattan Distance: For 4-connected grids.
- Euclidean Distance: For 8-connected or continuous spaces. The accuracy of the heuristic directly controls D* Lite's efficiency; a perfect heuristic (like the true cost) would make the search instantaneous.
Priority Queue
D* Lite's efficiency hinges on a priority queue used to manage its open list. States are queued with a two-part priority key: [k1(s), k2(s)]. This key determines the order of expansion:
- k1(s) is essentially
min(g(s), rhs(s)) + h(s). - k2(s) is
min(g(s), rhs(s)). The queue is sorted lexicographically by k1, then k2. This complex key structure is what allows D* Lite to correctly and efficiently reorder states when edge costs change, focusing computation only where needed.
Vehicle Routing Problem (VRP)
While D* Lite plans a path for a single agent, the Vehicle Routing Problem involves optimizing routes for an entire fleet. D* Lite can serve as a critical low-level subroutine within a VRP solver. For example, in dynamic logistics where traffic conditions change, a high-level VRP allocates tasks, while a D* Lite instance on each vehicle constantly replans its detailed, obstacle-avoiding route to the next destination, respecting time-window constraints and priority-based tasking.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us