Event Generator#

class airlift.envs.events.event_generator.EventGenerator(rate: float)#

Probability of a single agent to break at a given time step. According to Poisson process with given rate. Rate indicates average number of malfunctions per time step. The malfunction probability returned by this method indicates the probability that one or more malfunction events occur in the current time step. See https://en.wikipedia.org/wiki/Poisson_point_process