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]

[src]

Get the edit distance.

[src]

Return the script of edit operations to rewrite the source sequence to the target sequence. If there are multiple possible edit scripts, this method will return one of the possible edit scripts. If you want to retrieve all possible edit scripts, use the edit_scripts method.

[src]

Return all the edit scripts to rewrite the source sequence to the target sequence. If you want just one edit script, use the edit_script method instead.

[src]

Get the cost matrix.

[src]

Get the sequence pair associated with this cost matrix.

Trait Implementations

Auto Trait Implementations

impl<'a, M, T> Send for Alignment<'a, M, T> where
    M: Sync,
    T: Sync

impl<'a, M, T> Sync for Alignment<'a, M, T> where
    M: Sync,
    T: Sync