Table of Contents

Method HammingDistanceImpl

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

HammingDistanceImpl(Word, Word)

Calculates the hamming distance between two strings using a given alphabet.

public static int HammingDistanceImpl(Word splitWordA, Word splitWordB)

Parameters

splitWordA Word

The first string

splitWordB Word

The second string

Returns

int

Exceptions

ArgumentNullException

splitWordA or splitWordA is null

InvalidOperationException

splitWordA and splitWordB are not the same length