pub struct PoissonProcess {
pub rate: f64,
pub arrivals: Vec<f64>,
}Expand description
A Poisson process with given rate and arrival times.
Fields§
§rate: f64Arrival rate λ > 0.
arrivals: Vec<f64>Sorted arrival times.
Implementations§
Trait Implementations§
Source§impl Clone for PoissonProcess
impl Clone for PoissonProcess
Source§fn clone(&self) -> PoissonProcess
fn clone(&self) -> PoissonProcess
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PoissonProcess
impl RefUnwindSafe for PoissonProcess
impl Send for PoissonProcess
impl Sync for PoissonProcess
impl Unpin for PoissonProcess
impl UnsafeUnpin for PoissonProcess
impl UnwindSafe for PoissonProcess
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more