pub struct BE<'a, D, T> { /* private fields */ }Expand description
A struct representing a Bayesian estimator.
Implementations§
Trait Implementations§
Source§impl CIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, ()>
impl CIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, ()>
Source§impl CIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, (usize, f64)>
impl CIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, (usize, f64)>
Source§impl CPDEstimator<CatCPD> for BE<'_, CatWtdTable, ()>
impl CPDEstimator<CatCPD> for BE<'_, CatWtdTable, ()>
Source§impl CPDEstimator<CatCPD> for BE<'_, CatWtdTable, usize>
impl CPDEstimator<CatCPD> for BE<'_, CatWtdTable, usize>
Source§impl<D, T> Labelled for BE<'_, D, T>where
D: Labelled,
impl<D, T> Labelled for BE<'_, D, T>where
D: Labelled,
Source§fn label_to_index(&self, x: &str) -> usize
fn label_to_index(&self, x: &str) -> usize
Return the variable index for a given label. Read more
Source§fn index_to_label(&self, x: usize) -> &str
fn index_to_label(&self, x: usize) -> &str
Return the label for a given variable index. Read more
Source§fn index_to(&self, x: usize, other: &Labels) -> usize
fn index_to(&self, x: usize, other: &Labels) -> usize
Maps an index from this model to another model with the same label. Read more
Source§fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Set<usize>
fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Set<usize>
Maps a set of indices from this model to another model with the same labels. Read more
Source§impl ParCIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, ()>
impl ParCIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, ()>
Source§impl ParCIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, (usize, f64)>
impl ParCIMEstimator<CatCIM> for BE<'_, CatWtdTrjs, (usize, f64)>
Source§impl ParCPDEstimator<CatCPD> for BE<'_, CatWtdTable, ()>
impl ParCPDEstimator<CatCPD> for BE<'_, CatWtdTable, ()>
Source§impl ParCPDEstimator<CatCPD> for BE<'_, CatWtdTable, usize>
impl ParCPDEstimator<CatCPD> for BE<'_, CatWtdTable, usize>
impl<'a, D: Copy, T: Copy> Copy for BE<'a, D, T>
Auto Trait Implementations§
impl<'a, D, T> Freeze for BE<'a, D, T>where
T: Freeze,
impl<'a, D, T> RefUnwindSafe for BE<'a, D, T>where
T: RefUnwindSafe,
D: RefUnwindSafe,
impl<'a, D, T> Send for BE<'a, D, T>
impl<'a, D, T> Sync for BE<'a, D, T>
impl<'a, D, T> Unpin for BE<'a, D, T>where
T: Unpin,
impl<'a, D, T> UnwindSafe for BE<'a, D, T>where
T: UnwindSafe,
D: RefUnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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