[−][src]Trait pointprocesses::temporal::traits::TemporalProcess
Time-dependent point process model.
Required methods
fn sample(&self, tmax: f64) -> TimeProcessResult
Sample a sequence of events of the process. Returns: event timestamps and intensity process.
Provided methods
fn batch_sample(&self, tmax: f64, num_batch: usize) -> Vec<TimeProcessResult> where
Self: Sync,
Self: Sync,
Batch-sample sequences from the model.
Implementors
impl TemporalProcess for LognormalCox
[src]
fn sample(&self, tmax: f64) -> TimeProcessResult
[src]
Algorithm: acceptance-rejection method Propose new event time, compute brownian increment, update intensity and accept/reject
impl TemporalProcess for PoissonProcess
[src]
fn sample(&self, tmax: f64) -> TimeProcessResult
[src]
impl TemporalProcess for ExpHawkes
[src]
fn sample(&self, tmax: f64) -> TimeProcessResult
[src]
impl<F> TemporalProcess for Hawkes<DeterministicBackground<F>, ExpKernel> where
F: Fn(f64) -> f64 + Send + Sync,
[src]
F: Fn(f64) -> f64 + Send + Sync,
fn sample(&self, tmax: f64) -> TimeProcessResult
[src]
impl<F> TemporalProcess for VariablePoissonProcess<F> where
F: Fn(f64) -> f64 + Send + Sync,
[src]
F: Fn(f64) -> f64 + Send + Sync,