This repository was archived by the owner on Dec 5, 2022. It is now read-only.
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
Heckel algorithm doesn't detect replaces? #16
Closed
Description
Hi,
I have a problem with the Hecker algorithm, I think it doesn't detect replaces correctly. A simple example:
diff(old: Array("abc"), new: Array("adc"))
This will return delete at 1 and insert at 1.
Using WagnerFischer, it works as expected:
diff(old: Array("abc"), new: Array("adc"), algorithm: WagnerFischer())
This returns replace at 1.
Is this algorithm specific or just a bug?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels