The code repository of the paper "LaCAM: Search-Based Algorithm for Quick Multi-Agent Pathfinding" (AAAI-23).
All you need is CMake (≥v3.16). The code is written in C++(17).
First, clone this repo with submodules.
git clone --recursive https://github.com/Kei18/lacam.git
cd lacam
Then, build the project.
cmake -B build && make -C build
You can also use the docker environment (based on Ubuntu18.04) instead of the native one.
# ~10 min, mostly for CMake build
docker compose up -d
docker compose exec dev bash
> cmake -B build && make -C build
build/main -i assets/random-32-32-10-random-1.scen -m assets/random-32-32-10.map -N 50 -v 1
The result will be saved in build/result.txt
.
You can find details of all parameters with:
build/main --help
@Kei18/mapf-visualizer is available.
The experimental script is written in Julia ≥1.7. Setup may require around 10 minutes.
sh scripts/setup.sh
Edit the config file as you like.
Examples are in scripts/config
.
The evaluation starts by following commands.
julia --project=scripts/ --threads=auto
> include("scripts/eval.jl"); main("scripts/config/mapf-bench.yaml")
assets/
are from MAPF benchmarks.tests/
is not comprehensive. It was used in early developments.git config core.hooksPath .githooks && chmod a+x .githooks/pre-commit
This software is released under the MIT License, see LICENSE.txt.
Keisuke Okumura is a Ph.D. student at Tokyo Institute of Technology, interested in controlling multiple moving agents.