def semiglobal_result

bend-edit-distance@0.2.2.0 · src/DistanceDP.bend:153

import bend-edit-distance@0.2.2.0/src/DistanceDP.bend as DistanceDP
import Base
import bend-edit-distance@0.2.2.0/EdlibTypes.bend as E

153def semiglobal_result(best: Best, +threshold: E.Threshold) -> E.AlignResult:
154  match best:
155    case Best{+score, ends}:
156      semiglobal_result.accept(score, ends, E.within_threshold(threshold, U32.to_nat(score)))

Uses (6)

Used by (1)