This repository provides source code used for the generation of results in the IEEE-published paper "Voting rule optimisation for double threshold energy  detector-based cognitive radio networks".