Method HammingDistance
HammingDistance(Word, Word)
Calculates the hamming distance between two pre-split words using a given alphabet.
public static int HammingDistance(Word word1, Word word2)
Parameters
Returns
Exceptions
- ArgumentNullException
word1orword2is null- InvalidOperationException
word1andword2are not the same length