Trait TemporalProcess

Source
pub trait TemporalProcess {
    // Required method
    fn sample(&self, tmax: f64) -> TimeProcessResult;

    // Provided method
    fn batch_sample(
        &self,
        tmax: f64,
        num_batch: usize,
    ) -> Vec<TimeProcessResult>
       where Self: Sync { ... }
}
Expand description

Time-dependent point process model.

Required Methods§

Source

fn sample(&self, tmax: f64) -> TimeProcessResult

Sample a sequence of events of the process. Returns: event timestamps and intensity process.

Provided Methods§

Source

fn batch_sample(&self, tmax: f64, num_batch: usize) -> Vec<TimeProcessResult>
where Self: Sync,

Batch-sample sequences from the model.

Implementors§