(add-periods date-time rng periods)
Add a random amount of milliseonds to date-time
based on the first map of
valid parameter map in periods
. A valid map either has no time bounds or
bounds that satisfy date-time
. The millis amount is an exponentially
distributed random variable with period
parameters :mean
and :min
.
The generated sequence that uses these periodic date-times will thus occur
as a Poisson random process.
Add a random amount of milliseonds to `date-time` based on the first map of valid parameter map in `periods`. A valid map either has no time bounds or bounds that satisfy `date-time`. The millis amount is an exponentially distributed random variable with `period` parameters `:mean` and `:min`. The generated sequence that uses these periodic date-times will thus occur as a Poisson random process.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close