A fast C++ API for simulating the spread of epidemics on contact networks.