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

hamming distance #9

Open
6Youcai opened this issue Feb 17, 2016 · 1 comment
Open

hamming distance #9

6Youcai opened this issue Feb 17, 2016 · 1 comment

Comments

@6Youcai
Copy link
Member

6Youcai commented Feb 17, 2016

In the function hamming_distance(s1,s2), len = min(length(s1), length(s2)), while Hamming distance are between two strings of equal length, see https://en.wikipedia.org/wiki/Hamming_distance

@sfchen
Copy link
Member

sfchen commented Feb 17, 2016

Yes, this hamming_distance is generalized for comparing sequences with different length

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

2 participants