Add simple Hunt–McIlroy LCS algorithm (#10)

This commit is contained in:
Armin Ronacher 2021-02-14 23:11:29 +01:00 committed by GitHub
parent df78bdca1c
commit bee5d88b02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 267 additions and 0 deletions

View file

@ -10,6 +10,8 @@ pub enum Algorithm {
Myers,
/// Picks the patience algorithm from [`crate::algorithms::patience`]
Patience,
/// Picks the LCS algorithm from [`crate::algorithms::lcs`]
Lcs,
}
impl Default for Algorithm {