[][src]Struct spor::alignment::smith_waterman::SimpleScorer

pub struct SimpleScorer { /* fields omitted */ }

Simple scoring strategy for Smith-Waterman.

The base-score determines the score for matching tokens; the negative is used for mismatches. The gap-penalty is multiplied by the length of the gap.

Implementations

impl SimpleScorer[src]

pub fn new(base_score: f32, base_gap_penalty: f32) -> SimpleScorer[src]

pub fn default() -> SimpleScorer[src]

Trait Implementations

impl Scorer for SimpleScorer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.