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§
Sourcefn 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.
Provided Methods§
Sourcefn 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.