/// Create a Traceback matrix with given maximum sizes
///
/// # Arguments
///
/// * `m` - the number of nodes in the DAG
/// * `n` - the length of the query sequence
///
Create a Traceback matrix with given maximum sizes
Create a Traceback matrix with given maximum sizes
fn with_capacity(m: usize, n: usize) -> Self {
        let matrix = vec![
            vec![
                TracebackCell {
                    score: 0,
                    op: AlignmentOperation::Match(None)
                };
                n + 1
            ];
            m + 1
        ];
        Traceback {
            rows: m,
            cols: n,
            last: NodeIndex::new(0),
            matrix,
        }
    }
fn with_capacity ( m : usize , n : usize ) -> Self { let matrix = vec ! [ vec [ TracebackCell { score 0 op AlignmentOperation Match ( None ) } n 1 ] m 1 ] ; Traceback { rows : m , cols : n , last : NodeIndex :: new ( 0 ) , matrix , } }
Create a Traceback matrix with given maximum sizes
Create a Traceback matrix with given maximum sizes
m
usize
n
usize