Struct lcs_calculator

Struct Documentation

struct lcs_calculator

Representation of algorithm to find the longest common subsequence of two strings.

Public Members

size_t size
size_t len_x

Longest common subsequence length.

size_t len_y

Length of string #1.

const char *y

Length of string #2.

const char *x

String #1.

int *results

String #2.

char *sequence

N x N array storing the optimal results route.