Struct bio::stats::bayesian::model::ModelInstance [−][src]
pub struct ModelInstance<Event, PosteriorEvent> where
Event: Hash + Eq,
PosteriorEvent: Hash + Eq, { /* fields omitted */ }
Instance of a model for given data and event universe. From the instance, posterior, marginal and MAP can be computed.
Implementations
impl<Event, PosteriorEvent> ModelInstance<Event, PosteriorEvent> where
Event: Hash + Eq,
PosteriorEvent: Hash + Eq,
[src]
impl<Event, PosteriorEvent> ModelInstance<Event, PosteriorEvent> where
Event: Hash + Eq,
PosteriorEvent: Hash + Eq,
[src]impl<PosteriorEvent> ModelInstance<NotNan<f64>, PosteriorEvent> where
PosteriorEvent: Hash + Eq,
[src]
impl<PosteriorEvent> ModelInstance<NotNan<f64>, PosteriorEvent> where
PosteriorEvent: Hash + Eq,
[src]pub fn expected_value(&self) -> NotNan<f64>
[src]
Auto Trait Implementations
impl<Event, PosteriorEvent> RefUnwindSafe for ModelInstance<Event, PosteriorEvent> where
Event: RefUnwindSafe,
PosteriorEvent: RefUnwindSafe,
impl<Event, PosteriorEvent> RefUnwindSafe for ModelInstance<Event, PosteriorEvent> where
Event: RefUnwindSafe,
PosteriorEvent: RefUnwindSafe,
impl<Event, PosteriorEvent> Send for ModelInstance<Event, PosteriorEvent> where
Event: Send,
PosteriorEvent: Send,
impl<Event, PosteriorEvent> Send for ModelInstance<Event, PosteriorEvent> where
Event: Send,
PosteriorEvent: Send,
impl<Event, PosteriorEvent> Sync for ModelInstance<Event, PosteriorEvent> where
Event: Sync,
PosteriorEvent: Sync,
impl<Event, PosteriorEvent> Sync for ModelInstance<Event, PosteriorEvent> where
Event: Sync,
PosteriorEvent: Sync,
impl<Event, PosteriorEvent> Unpin for ModelInstance<Event, PosteriorEvent> where
Event: Unpin,
PosteriorEvent: Unpin,
impl<Event, PosteriorEvent> Unpin for ModelInstance<Event, PosteriorEvent> where
Event: Unpin,
PosteriorEvent: Unpin,
impl<Event, PosteriorEvent> UnwindSafe for ModelInstance<Event, PosteriorEvent> where
Event: UnwindSafe,
PosteriorEvent: UnwindSafe,
impl<Event, PosteriorEvent> UnwindSafe for ModelInstance<Event, PosteriorEvent> where
Event: UnwindSafe,
PosteriorEvent: UnwindSafe,
Blanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,