Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

BFMT*

Also known as Bidirectional Fast Marching Tree

sampling sampling-planning

BFMT* (Bidirectional Fast Marching Tree) runs FMT* from both ends over one batch of random samples. One tree marches outward from the start in order of cost-to-come; the other marches from the goal in order of cost-to-go. The trees take turns, and a sample that both trees reach joins them into a path. By default BFMT* stops once the node it just expanded was already expanded by the other tree, and returns the cheapest join; this keeps FMT*'s asymptotic optimality (the cost converges in probability to the optimum as the batch grows). A faster mode stops at the first meeting, which in general is not the cheapest path through the batch.

Pseudocode

algorithm BFMT*(x₀, X-goal, n, γ, optimal)input: start x₀, goal region X-goal with center x-goal, number of samples n, radius constant γ, termination mode optimaloutput: the cheapest path found where the two trees meet, or failureV ← {x₀, x-goal} ∪ n valid samplesF ← wave rooted at x₀, cost-to-come, edges checked parent to childB ← wave rooted at x-goal, cost-to-go, edges checked child to parentbest ← nilside ← Fwhile OPEN(side) ≠ ∅ doz ← min(OPEN(side))NEW ← expand(side, z)                      ▷ one FMT* step on this treefor each x in NEW doif x is connected in both F and B thenif cost-F[x] + cost-B[x] < cost of best thenbest ← xif side = F and x ∈ X-goal and cost-F[x] < cost of best thenbest ← x                               ▷ the start tree reached the goal region aloneif optimal and z is closed in the other tree thenbreakif not optimal and best ≠ nil thenbreakif OPEN(other tree) ≠ ∅ thenside ← other treeif best = nil thenreturn failurereturn path-to(x₀, best), joined with path-to(best, x-goal) if best is in B

In the crates

  • sampling-planning

    Bidirectional FMT* that marches trees from start and goal over one batch and joins them where they meet, with optimal or first-meeting termination.

    BfmtStar

Lineage

Comes from

builds on FMT*

Led to

Nothing on this site.

Papers

  1. An Asymptotically-Optimal Sampling-Based Algorithm for Bi-directional Motion Planning Joseph A. Starek, Javier V. Gomez, Edward Schmerling, Lucas Janson, Luis Moreno, Marco Pavone · 2015· IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) introduces doi 10.1109/IROS.2015.7353652 arXiv 1507.07602