Struct seqalign::Alignment
[−]
[src]
pub struct Alignment<'a, M, T> where
M: 'a + Measure<T>,
T: 'a + Eq, { /* fields omitted */ }Edit distance cost matrix.
Methods
impl<'a, M, T> Alignment<'a, M, T> where
M: Measure<T>,
T: Eq, [src]
M: Measure<T>,
T: Eq,
pub fn distance(&self) -> usize[src]
Get the edit distance.
pub fn edit_script(&self) -> Vec<IndexedOperation<M::Operation>>[src]
Return the script of edit operations to rewrite the source sequence to the target sequence.
pub fn cost_matrix(&self) -> &Vec<Vec<usize>>[src]
Get the cost matrix.
pub fn seq_pair(&self) -> &SeqPair<T>[src]
Get the sequence pair associated with this cost matrix.