[][src]Trait seqalign::Align

pub trait Align<'a, M, T> where
    M: Measure<T>,
    T: Eq
{ fn align(&'a self, source: &'a [T], target: &'a [T]) -> Alignment<'a, M, T>; }

Trait enabling alignment of all Measures.

This trait is used to implement alignment using dynamic programming for every type that implements the Measure trait.

Required methods

fn align(&'a self, source: &'a [T], target: &'a [T]) -> Alignment<'a, M, T>

Align two sequences.

This function aligns two sequences and returns the alignment.

Loading content...

Implementors

impl<'a, M, T> Align<'a, M, T> for M where
    M: Measure<T>,
    T: Eq
[src]

Loading content...