pub unsafe trait TrustedOriginSampler<'h, M: MathsCore>: UntrustedOriginSampler<'h, M> { }
Expand description

§Safety

Lineages produced by the sampler’s iterator must have

  • unique global references
  • unique indexed locations
  • valid indexed locations (i.e. inside habitable demes)

Implementors§

source§

impl<'d, M: MathsCore, O: TrustedOriginSampler<'d, M>, D: Decomposition<M, O::Habitat>> TrustedOriginSampler<'d, M> for DecompositionOriginSampler<'d, M, O, D>

source§

impl<'h, M: MathsCore, H: SingletonDemesHabitat<M>, I: Iterator<Item = u64>> TrustedOriginSampler<'h, M> for SingletonDemesOriginSampler<'h, M, H, I>

source§

impl<'h, M: MathsCore, H: SingletonDemesHabitat<M>, I: Iterator<Item = u64>> TrustedOriginSampler<'h, M> for SingletonDemesCircleOriginSampler<'h, M, H, I>

source§

impl<'h, M: MathsCore, H: SingletonDemesHabitat<M>, I: Iterator<Item = u64>> TrustedOriginSampler<'h, M> for SingletonDemesRectangleOriginSampler<'h, M, H, I>

source§

impl<'h, M: MathsCore, H: Habitat<M>, L: ExactSizeIterator<Item = Lineage>, I: Iterator<Item = u64>> !TrustedOriginSampler<'h, M> for ResumingOriginSampler<'h, M, H, L, I>

source§

impl<'h, M: MathsCore, I: Iterator<Item = u64>> TrustedOriginSampler<'h, M> for InMemoryOriginSampler<'h, M, I>

source§

impl<'h, M: MathsCore, I: Iterator<Item = u64>> TrustedOriginSampler<'h, M> for NonSpatialOriginSampler<'h, M, I>

source§

impl<'h, M: MathsCore, I: Iterator<Item = u64>> TrustedOriginSampler<'h, M> for SpatiallyImplicitOriginSampler<'h, M, I>