This is an initial release of the codes for reproducing the experiments described in the paper Flooding with Absorption: An Efficient Protocol for Heterogeneous Bandits over Complex Networks (OPODIS 2023, best student paper) by Junghyun Lee, Laura Schmid, and Se-Young Yun.