Struct edit_dist_finder

Struct Documentation

struct edit_dist_finder

Algorithm handle for finding the edit distance between two contiguous sequences of objects.

Public Members

const void *seq_a

Sequence #1.

const void *seq_b

Sequence #1.

size_t elt_size

Size of each element in a sequence in bytes.

int *memoization

Memoization table used with a recursive implementation.

bool_t (*cmpe)(const void *const e1, const void *const e2)

Compare two elements for equality.

size_t (*seq_len)(const void *const seq)

Get the length of a sequence.