pub struct LCSSeq {}Expand description
The length of the Longest common subsequence.
It differs from the LCSStr. Unlike substrings, subsequences are not required
to occupy consecutive positions within the original sequences.
Trait Implementations§
Source§impl Algorithm<usize> for LCSSeq
impl Algorithm<usize> for LCSSeq
Source§fn for_vec<E: Eq>(&self, s1: &[E], s2: &[E]) -> Result<usize>
fn for_vec<E: Eq>(&self, s1: &[E], s2: &[E]) -> Result<usize>
Calculate distance/similarity for vectors. Read more
Source§fn for_iter<C, E>(&self, s1: C, s2: C) -> Result<R>
fn for_iter<C, E>(&self, s1: C, s2: C) -> Result<R>
Calculate distance/similarity for iterators. Read more
Source§fn for_str(&self, s1: &str, s2: &str) -> Result<R>
fn for_str(&self, s1: &str, s2: &str) -> Result<R>
Calculate distance/similarity for strings. Read more
Auto Trait Implementations§
impl Freeze for LCSSeq
impl RefUnwindSafe for LCSSeq
impl Send for LCSSeq
impl Sync for LCSSeq
impl Unpin for LCSSeq
impl UnwindSafe for LCSSeq
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