Struct necsim_impls_no_std::cogs::event_sampler::gillespie::conditional::ConditionalGillespieEventSampler
source · pub struct ConditionalGillespieEventSampler<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> { /* private fields */ }
Trait Implementations§
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> Backup for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> Backup for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
unsafe fn backup_unchecked(&self) -> Self
fn backup(&self) -> BackedUp<Self>
source§impl<M: Debug + MathsCore, H: Debug + Habitat<M>, G: Debug + RngCore<M>, S: Debug + GloballyCoherentLineageStore<M, H>, X: Debug + EmigrationExit<M, H, G, S>, D: Debug + SeparableDispersalSampler<M, H, G>, T: Debug + TurnoverRate<M, H>, N: Debug + SpeciationProbability<M, H>> Debug for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M: Debug + MathsCore, H: Debug + Habitat<M>, G: Debug + RngCore<M>, S: Debug + GloballyCoherentLineageStore<M, H>, X: Debug + EmigrationExit<M, H, G, S>, D: Debug + SeparableDispersalSampler<M, H, G>, T: Debug + TurnoverRate<M, H>, N: Debug + SpeciationProbability<M, H>> Debug for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> Default for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> Default for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> EventSampler<M, H, G, S, X, D, ConditionalCoalescenceSampler<M, H, S>, T, N> for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> EventSampler<M, H, G, S, X, D, ConditionalCoalescenceSampler<M, H, S>, T, N> for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
fn sample_event_for_lineage_at_event_time_or_emigrate<Q, Aux, FS, FD, FE>( &mut self, lineage: Lineage, event_time: PositiveF64, simulation: &mut PartialSimulation<M, H, G, S, X, D, C, T, N>, rng: &mut G, handler: EventHandler<FS, FD, FE>, auxiliary: Aux ) -> Q
source§impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> GillespieEventSampler<M, H, G, S, X, D, ConditionalCoalescenceSampler<M, H, S>, T, N> for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>, S: GloballyCoherentLineageStore<M, H>, X: EmigrationExit<M, H, G, S>, D: SeparableDispersalSampler<M, H, G>, T: TurnoverRate<M, H>, N: SpeciationProbability<M, H>> GillespieEventSampler<M, H, G, S, X, D, ConditionalCoalescenceSampler<M, H, S>, T, N> for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
Auto Trait Implementations§
impl<M, H, G, S, X, D, T, N> Freeze for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M, H, G, S, X, D, T, N> RefUnwindSafe for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>where
M: RefUnwindSafe,
H: RefUnwindSafe,
G: RefUnwindSafe,
S: RefUnwindSafe,
X: RefUnwindSafe,
D: RefUnwindSafe,
T: RefUnwindSafe,
N: RefUnwindSafe,
impl<M, H, G, S, X, D, T, N> Send for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M, H, G, S, X, D, T, N> Sync for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M, H, G, S, X, D, T, N> Unpin for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>
impl<M, H, G, S, X, D, T, N> UnwindSafe for ConditionalGillespieEventSampler<M, H, G, S, X, D, T, N>where
M: UnwindSafe,
H: UnwindSafe,
G: UnwindSafe,
S: UnwindSafe,
X: UnwindSafe,
D: UnwindSafe,
T: UnwindSafe,
N: 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
§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more