pub struct VariablePoissonProcess<F>{ /* private fields */ }Expand description
Poisson process with variable intensity. The average number of events between $t$ and $t+dt$ is $$ \mathbb{E}[ dN_t ] = \lambda(t) dt $$ where $\lambda(t)$ is a deterministic process.
Implementations§
Trait Implementations§
Source§impl<F> Debug for VariablePoissonProcess<F>
impl<F> Debug for VariablePoissonProcess<F>
Source§impl<F> DeterministicIntensity for VariablePoissonProcess<F>
impl<F> DeterministicIntensity for VariablePoissonProcess<F>
Source§impl<F> TemporalProcess for VariablePoissonProcess<F>
impl<F> TemporalProcess for VariablePoissonProcess<F>
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<F> Freeze for VariablePoissonProcess<F>where
F: Freeze,
impl<F> RefUnwindSafe for VariablePoissonProcess<F>where
F: RefUnwindSafe,
impl<F> Send for VariablePoissonProcess<F>
impl<F> Sync for VariablePoissonProcess<F>
impl<F> Unpin for VariablePoissonProcess<F>where
F: Unpin,
impl<F> UnwindSafe for VariablePoissonProcess<F>where
F: UnwindSafe,
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