/// Create new MatchParams instance with given match and mismatch scores
///
/// # Arguments
///
/// * `match_score` - the score for a match (should not be negative)
/// * `mismatch_score` - the score for a mismatch (should not be positive)
Create new MatchParams instance with given match and mismatch scores
Create new MatchParams instance with given match and mismatch scores
pub fn new(match_score: i32, mismatch_score: i32) -> Self {
        assert!(match_score >= 0, "match_score can't be negative");
        assert!(mismatch_score <= 0, "mismatch_score can't be positive");
        MatchParams {
            match_score,
            mismatch_score,
        }
    }
pub fn new ( match_score : i32 , mismatch_score : i32 ) -> Self { assert ! ( match_score 0 " " ) ; assert ! ( mismatch_score 0 " " ) ; MatchParams { match_score , mismatch_score , } }
Create new MatchParams instance with given match and mismatch scores
Create new MatchParams instance with given match and mismatch scores
match_score
i32
mismatch_score
i32