This repository implements the Fully-Learned Range Minimum Query (FL-RMQ), a novel data structure for range minimum queries based on a surprising connection between this classical problem and the geometry of a properly defined set of points in the Cartesian plane. Building on this insight, FL-RMQ introduces a unique approach that learns and exploits the distribution of such points using error-bounded linear approximations.
Most notably, FL-RMQ gives robust theoretical guarantees and offers novel space-time trade-offs with respect to known systematic solutions.
git clone https://github.com/FilippoLari/FL-RMQ
cd FL-RMQ
mkdir build
cd build
cmake ..
make -j8
This project was developed by Paolo Ferragina and Filippo Lari, and a corresponding scientific paper has been submitted to the 36th Annual Symposium on Combinatorial Pattern Matching