dpPathPlot4strMatch

Plot the path of dynamic programming for string match.

Contents

Syntax

Description

dpPathPlot4strMatch(str1, str2, lcsPath, lcsTable, prevx, prevy) plot the DP path of string match.

This is primarily used in lcs.m and editDistance.m.

To see the result, try "lcs" or "editDistance".

Example

Display the edit distance between 2 strings:

editDistance;

Display the LCS (longest common distance) between 2 strings:

lcs;

Top page   Next: dpOverMap.m   Prev:dsBoxPlot.m