Table of Contents

Method LevenshteinDistance

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

LevenshteinDistance(Word, Word)

Calculates the edit distance between two strings using the given alphabet

public static int LevenshteinDistance(Word a, Word b)

Parameters

a Word

The first string

b Word

The second string

Returns

int

Remarks

Implements Wagner-Fischer algorithm in two rows