1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Indel distance
use ;
/// This `struct` is used to access the Indel algorithm, as implemented by the
/// [rapidfuzz](https://crates.io/crates/rapidfuzz) crate, in a generic manner.
///
/// The Indel distance is a specialized version of the `Levenshtein` distance
/// with only insertions and deletions. It can be calculated from the `Longest
/// Common Subsequence`.
///
/// Similar to LCS it’s commonly used in Bioinformatics applications like DNA
/// sequence analysis, where insertions and deletions play a crucial role in
/// understanding evolutionary relationships and genetic variations.
;
/// This `BatchComparator` trait implementation is used to access the Indel
/// algorithm, as implemented by the
/// [rapidfuzz](https://crates.io/crates/rapidfuzz) crate, in a generic manner.
// impl