pub struct PoissonProcess { /* private fields */ }Expand description
Homogeneous, constant intensity Poisson process. The intensity of the process is given by the average number of events between two instants: $$ \lambda = \lim_{h\to 0} \frac{\mathbb E[N_{t+h} - N_t]}{h} $$
Implementations§
Trait Implementations§
Source§impl Debug for PoissonProcess
impl Debug for PoissonProcess
Source§impl TemporalProcess for PoissonProcess
impl TemporalProcess for PoissonProcess
Source§fn sample(&self, tmax: f64) -> TimeProcessResult
fn sample(&self, tmax: f64) -> TimeProcessResult
Sample a sequence of events of the process.
Returns: event timestamps and intensity process.
Source§fn batch_sample(&self, tmax: f64, num_batch: usize) -> Vec<TimeProcessResult>where
Self: Sync,
fn batch_sample(&self, tmax: f64, num_batch: usize) -> Vec<TimeProcessResult>where
Self: Sync,
Batch-sample sequences from the model.
Auto Trait Implementations§
impl Freeze for PoissonProcess
impl RefUnwindSafe for PoissonProcess
impl Send for PoissonProcess
impl Sync for PoissonProcess
impl Unpin 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