Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching strings return non-zero distances #30

Open
johnmarkpittman opened this issue Feb 27, 2023 · 0 comments
Open

Matching strings return non-zero distances #30

johnmarkpittman opened this issue Feb 27, 2023 · 0 comments

Comments

@johnmarkpittman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant