pub trait EmigrationChoice<M: MathsCore, H: Habitat<M>>: Backup + Debug {
    // Provided method
    fn should_lineage_emigrate(
        &self,
        indexed_location: &IndexedLocation,
        time: PositiveF64,
        habitat: &H
    ) -> bool { ... }
}

Provided Methods§

source

fn should_lineage_emigrate( &self, indexed_location: &IndexedLocation, time: PositiveF64, habitat: &H ) -> bool

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<M: MathsCore, H: Habitat<M>> EmigrationChoice<M, H> for AlwaysEmigrationChoice

source§

impl<M: MathsCore, H: Habitat<M>> EmigrationChoice<M, H> for ProbabilisticEmigrationChoice