Function lcs_rec

Function Documentation

int lcs_rec(const struct lcs_calculator *lcs)

Compute the LCS of x,y using top down dynamic programming.

Parameters:

lcs – The LCS handle

Returns:

LCS of (x,y) or -1 if an error occurred