(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |