pub struct ApproximateInference<'a, R, M, E> { /* private fields */ }Expand description
An approximate inference engine.
Implementations§
Source§impl<'a, R, M> ApproximateInference<'a, R, M, ()>
impl<'a, R, M> ApproximateInference<'a, R, M, ()>
Source§impl<'a, R, M, E> ApproximateInference<'a, R, M, E>
impl<'a, R, M, E> ApproximateInference<'a, R, M, E>
Sourcepub const fn with_evidence<T>(
self,
evidence: &'a T,
) -> ApproximateInference<'a, R, M, T>
pub const fn with_evidence<T>( self, evidence: &'a T, ) -> ApproximateInference<'a, R, M, T>
Trait Implementations§
Source§impl<R: Rng> BNInference<CatBN> for ApproximateInference<'_, R, CatBN, <CatBN as BN>::Evidence>
impl<R: Rng> BNInference<CatBN> for ApproximateInference<'_, R, CatBN, <CatBN as BN>::Evidence>
Source§impl<R: Rng> BNInference<CatBN> for ApproximateInference<'_, R, CatBN, ()>
impl<R: Rng> BNInference<CatBN> for ApproximateInference<'_, R, CatBN, ()>
Source§impl<R: Rng> BNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, <GaussBN as BN>::Evidence>
impl<R: Rng> BNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, <GaussBN as BN>::Evidence>
Source§impl<R: Rng> BNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, ()>
impl<R: Rng> BNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, ()>
Source§impl<R, M, E> Modelled<M> for ApproximateInference<'_, R, M, E>
impl<R, M, E> Modelled<M> for ApproximateInference<'_, R, M, E>
Source§impl<R: Rng + SeedableRng> ParBNInference<CatBN> for ApproximateInference<'_, R, CatBN, <CatBN as BN>::Evidence>
impl<R: Rng + SeedableRng> ParBNInference<CatBN> for ApproximateInference<'_, R, CatBN, <CatBN as BN>::Evidence>
Source§impl<R: Rng + SeedableRng> ParBNInference<CatBN> for ApproximateInference<'_, R, CatBN, ()>
impl<R: Rng + SeedableRng> ParBNInference<CatBN> for ApproximateInference<'_, R, CatBN, ()>
Source§impl<R: Rng + SeedableRng> ParBNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, <GaussBN as BN>::Evidence>
impl<R: Rng + SeedableRng> ParBNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, <GaussBN as BN>::Evidence>
Source§impl<R: Rng + SeedableRng> ParBNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, ()>
impl<R: Rng + SeedableRng> ParBNInference<GaussBN> for ApproximateInference<'_, R, GaussBN, ()>
Auto Trait Implementations§
impl<'a, R, M, E> !Freeze for ApproximateInference<'a, R, M, E>
impl<'a, R, M, E> !RefUnwindSafe for ApproximateInference<'a, R, M, E>
impl<'a, R, M, E> Send for ApproximateInference<'a, R, M, E>
impl<'a, R, M, E> !Sync for ApproximateInference<'a, R, M, E>
impl<'a, R, M, E> Unpin for ApproximateInference<'a, R, M, E>
impl<'a, R, M, E> !UnwindSafe for ApproximateInference<'a, R, M, E>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more