Use uv sync to install venv then run uv run avoid.py or uv run reachavoid.py
Solves a backwards-reachable tube problem for the avoiding an obstacle $$\mathcal{F}.
Define
The DP update equation is
Solve a backwards-reachable tube problem for reaching (not staying in!) a target $$\mathcal{T}.
Define
The DP update equation is
Solve a backwards reach-avoid tube problem for reaching a target while avoiding obstacles (its fine to hit an obstacle after reaching the target).
The DP update equation is