pub struct ViterbiPath<S> {
pub states: Vec<S>,
pub state_indices: Vec<usize>,
pub log_probability: f64,
pub numerical_repairs: u64,
}Expand description
Maximum-probability hidden-state path and its joint log probability.
Fields§
§states: Vec<S>Hidden states in observation order.
state_indices: Vec<usize>State indices in the model’s stable order.
log_probability: f64Natural logarithm of the path and observations’ joint probability.
numerical_repairs: u64Number of numerical repairs; log-domain Viterbi normally reports zero.
Trait Implementations§
Source§impl<S: Clone> Clone for ViterbiPath<S>
impl<S: Clone> Clone for ViterbiPath<S>
Source§fn clone(&self) -> ViterbiPath<S>
fn clone(&self) -> ViterbiPath<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for ViterbiPath<S>
impl<S: Debug> Debug for ViterbiPath<S>
Source§impl<S: PartialEq> PartialEq for ViterbiPath<S>
impl<S: PartialEq> PartialEq for ViterbiPath<S>
impl<S: PartialEq> StructuralPartialEq for ViterbiPath<S>
Auto Trait Implementations§
impl<S> Freeze for ViterbiPath<S>
impl<S> RefUnwindSafe for ViterbiPath<S>where
Vec<S>: RefUnwindSafe,
impl<S> Send for ViterbiPath<S>
impl<S> Sync for ViterbiPath<S>
impl<S> Unpin for ViterbiPath<S>
impl<S> UnsafeUnpin for ViterbiPath<S>where
Vec<S>: UnsafeUnpin,
impl<S> UnwindSafe for ViterbiPath<S>where
Vec<S>: UnwindSafe,
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