Trait sim_by_fired_event::model::BulkEvents[][src]

pub trait BulkEvents<Rec, E: Event>: Model<Rec, ModelEvent = E> {
    fn step_in_bulk<R: Rng + ?Sized>(
        &mut self,
        rng: &mut R,
        recorder: &mut Rec,
        scheduler: &mut EventScheduler<Self::ModelEvent>,
        fired_events: Vec<(Priority, Self::ModelEvent)>
    ); }

can calculate fired events in bulk

Required methods

fn step_in_bulk<R: Rng + ?Sized>(
    &mut self,
    rng: &mut R,
    recorder: &mut Rec,
    scheduler: &mut EventScheduler<Self::ModelEvent>,
    fired_events: Vec<(Priority, Self::ModelEvent)>
)
[src]

action for each one step

Loading content...

Implementors

Loading content...