affinegap icon indicating copy to clipboard operation
affinegap copied to clipboard

Matching strings return non-zero distances

Open johnmarkpittman opened this issue 1 year ago • 0 comments

Using the default value for the matchWeight parameter, the affineGapDistance function returns len(string_a) as the distance between two strings that match exactly, and normalizedAffineGapDistance returns 0.5.

Is this intended behavior? I looked through the referenced paper, but did not see any discussion of this.

johnmarkpittman avatar Feb 27 '23 19:02 johnmarkpittman