sinterface IProbabilisticScheduler { // schedule an action at a relative probability void at(double probability, Runnable action); }