Function edit_dist_init
Defined in File edit_dist.h
Function Documentation
-
status_t edit_dist_init(struct edit_dist_finder *finder, const void *a, const void *b, size_t elt_size, bool_t (*cmpe)(const void *e1, const void *e2), size_t (*seq_len)(const void *seq))
Initialize an edit distance finder.
- Parameters:
finder – The finder to initialize
a – Pointer to sequence #1
b – Pointer to sequence #2
elt_size – Size of elements in bytes
cmpe – Callback for comparing if two sequences are equivalent or not
seq_len – Callback for obtaining the length of a sequence
- Returns: