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
word1
orword2
is null- InvalidOperationException
word1
andword2
are not the same length