Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

M*

Also known as rM*, OD-M*, ODrM*, Recursive M*, Subdimensional expansion

search mapf-search

M* finds an optimal plan for many agents with A* in their joint space, but it keeps that space small (subdimensional expansion). Each agent follows its own shortest path (its individual policy) until it collides with another agent. The colliding agents join the collision set of the state, and M* passes that set back to all predecessors; only agents in a state's collision set branch over all their moves. Recursive M* (rM*) keeps separate groups of colliding agents and plans each group with its own, smaller M*, and operator decomposition (OD-M*, ODrM*) lets branching agents move one at a time. The plan is optimal for sum of costs or makespan, and because the joint space is finite, M* also proves that an instance has no solution.

Pseudocode

algorithm M*(v₀, h)input: joint start state v₀, heuristic h (sum of the agents' distances to their goals)output: a cheapest joint plan, or failure if none existsg[v₀] ← 0C[v₀] ← ∅                                  ▷ the collision set of each joint stateOPEN ← {v₀}                                ▷ ordered by f = g + hwhile OPEN ≠ ∅ dov ← extract-min(OPEN)if goal(v) thenreturn path-to(v)for each v′ in limited-successors(v, C[v]) doif collides(v, v′) thenback-propagate(v, colliders(v, v′))  ▷ v′ is not storedcontinueBACK[v′] ← BACK[v′] ∪ {v}back-propagate(v, C[v′])if g[v] + cost(v, v′) < g[v′] theng[v′] ← g[v] + cost(v, v′)parent[v′] ← vinsert-or-update(OPEN, v′, g[v′] + h(v′))return failure                             ▷ the joint space is finite: a prooffunction limited-successors(v, K)▷ agents in K branch over every move; every other agent takes its policy movereturn {v′ : v′_i = policy_i(v_i) for each agent i ∉ K}procedure back-propagate(v, K)W ← {(v, K)}while W ≠ ∅ do(u, K) ← remove-any(W)if K ⊈ C[u] thenC[u] ← C[u] ∪ Kinsert-or-update(OPEN, u, g[u] + h(u)) ▷ reopen u with its larger setfor each w in BACK[u] doW ← W ∪ {(w, C[u])}

In the crates

  • mapf-search

    M* with subdimensional expansion, basic and recursive (rM*), each with or without operator decomposition (OD-M*, ODrM*); optimal and proves unsolvability.

    mstarmstar_withMStarConfig

Lineage

Comes from

builds on A*

combines Operator decomposition

Led to

Nothing on this site.

Papers

  1. Subdimensional expansion for multirobot path planning Glenn Wagner, Howie Choset · 2015· Artificial Intelligence introduces doi 10.1016/j.artint.2014.11.001
  2. ODrM* optimal multirobot path planning in low dimensional search spaces Cornelia Ferner, Glenn Wagner, Howie Choset · 2013· 2013 IEEE International Conference on Robotics and Automation extends doi 10.1109/ICRA.2013.6631119