This repository contains the relatively simple C++ code for reproducing the experiments for the Repeated Balls-into-Bins (RBB) process in the paper "Tight Bounds for Repeated Balls-into-Bins" which appeared in STACS 2023 (arxiv version).
There are two quantities that are being plotted in this paper: (i) the maximum load and (ii) the number of empty bins. These are collected for RBB process starting with the initially uniform load vector for src/rbb_stacs_2023.cc
to reduce the running time).
The code produces the points for the following two figures:
The entire code is a single C++ file (using the C++17 standard), so it can be run using
g++ src/rbb_stacs_2023.cc && ./a.out
(or any other compiler).
In the /src
directory there is also a CMakeLists.txt
file if you want to use cmake
.