Function dvcompute::simulation::stream::random::random_stream [−][src]
pub fn random_stream<T, F, M>(f: F) -> Stream<Rc<Arrival<T>>> where
F: Fn() -> M + 'static,
M: Parameter<Item = (f64, T)> + 'static,
T: 'static,
Expand description
Return a stream of random events that arrive with the specified delay.