E5C0 GitHub - Shayankamalzadeh/HammingDistance · GitHub
[go: up one dir, main page]

Skip to content

Shayankamalzadeh/HammingDistance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HammingDistance

In information theory, the Hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different. In other words, it measures the minimum number of substitutions required to change one string into the other, or the minimum number of errors that could have transformed one string into the other. In a more general context, the Hamming distance is one of several string metrics for measuring the edit distance between two sequences. It is named after the American mathematician Richard Hamming (1915-1998). for more information about Hamming distance please read https://en.wikipedia.org/wiki/Hamming_distance

In this project I tried to show Hamming distance between two strings and wrote several unit test. This is a sample and you can add more unit test to project.also I use visual studio 2017

this project has 3 part : 1.Hamming 2.HammingDistanceApp 3.HammingUnitTest

1.Hamming: it is a class library and has one class this class has a metod for calculating hamming distance.

2.HammingDistanceApp: it is a console application and it use hamming dll you can run this project and write two string and see result(Hamming_distance)

3.HammingUnitTest: it is a unitTestProject and use Hamming dll. I have written several test that check HamingSpace metod.(you can add more test).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

0