pub enum Algorithm {
Alg1a,
Alg1b,
Alg2a,
Alg3a,
}Variants§
Alg1a
Algorithm 1a: check probabilities surrounding each valid breakpoint. Switch based on the sum.
Alg1b
Algorithm 1b: check probabilities surrounding each valid breakpoint. Switch based on the individual max.
Alg2a
Algorithm 2: step forward through the matrix and pick the highest probability at each step
Alg3a
Algorithm 3: exhaustively check all combinations of breakpoints to find the highest true probability
Trait Implementations§
Source§impl IntoEnumIterator for Algorithm
impl IntoEnumIterator for Algorithm
type Iterator = AlgorithmIter
fn iter() -> AlgorithmIter ⓘ
impl Copy for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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