pub enum MonolithicLocalPartition<R: Reporter> {
    Live(Box<LiveMonolithicLocalPartition<R>>),
    Recorded(Box<RecordedMonolithicLocalPartition<R>>),
}

Variants§

Trait Implementations§

source§

impl<R: Debug + Reporter> Debug for MonolithicLocalPartition<R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'p, R: Reporter> LocalPartition<'p, R> for MonolithicLocalPartition<R>

§

type ImmigrantIterator<'a> = ImmigrantPopIterator<'a> where R: 'a, 'p: 'a

§

type IsLive = True

§

type Reporter = MonolithicLocalPartition<R>

source§

fn get_reporter(&mut self) -> &mut Self::Reporter

source§

fn get_partition(&self) -> Partition

source§

fn migrate_individuals<'a, E: Iterator<Item = (u32, MigratingLineage)>>( &'a mut self, emigrants: &mut E, emigration_mode: MigrationMode, immigration_mode: MigrationMode ) -> Self::ImmigrantIterator<'a>
where 'p: 'a,

source§

fn reduce_vote_any(&mut self, vote: bool) -> bool

source§

fn reduce_vote_min_time( &mut self, local_time: PositiveF64 ) -> Result<PositiveF64, PositiveF64>

source§

fn wait_for_termination(&mut self) -> ControlFlow<(), ()>

source§

fn report_progress_sync(&mut self, remaining: u64)

source§

impl<R: Reporter> Reporter for MonolithicLocalPartition<R>

source§

fn report_speciation( &mut self, speciation: &MaybeUsed<SpeciationEvent, Self::ReportSpeciation> )

§

type ReportSpeciation = <R as Reporter>::ReportSpeciation

source§

fn report_dispersal( &mut self, dispersal: &MaybeUsed<DispersalEvent, Self::ReportDispersal> )

§

type ReportDispersal = <R as Reporter>::ReportDispersal

source§

fn report_progress(&mut self, progress: &MaybeUsed<u64, Self::ReportProgress>)

§

type ReportProgress = <R as Reporter>::ReportProgress

§

fn initialise(&mut self) -> Result<(), String>

This initialise hook can be used to commit to make final initialisation steps which have side effects. Read more
§

fn finalise(self)
where Self: Sized,

§

unsafe fn finalise_boxed(self: Box<Self>)

Safety Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> ExtractDiscriminant for T

§

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
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> Erased for T