Official source code for BAG, a partition-based framework for exact spatial query processing on road networks with moving objects.
This repository contains implementation code only. Datasets and generated artifacts are intentionally excluded.
src/: C++ implementationrust/: Rust implementationCMakeLists.txt: build entry for the C++ implementation
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config ReleaseThis produces the bag_cpp executable.
cd rust
cargo build --releaseThe C++ executable exposes the following main commands:
batchknn-batchknn-build-diagnosticshierarchy-probediagnosticsmaint-benchmemory-report
Run the executable without arguments to print the full command-line interface.
- The repository is intended for code release and reproducible builds.
- External road-network inputs should be supplied by the user at runtime.