We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scalgos/src/main/scala/com/github/pathikrit/scalgos/DynamicProgramming.scala
Line 146 in 9e99f73
Probably it can be modified as below?
case (a, b) => (delete + f(a.tail, b)) min (insert + f(a.tail, a.head :: b)) min (replace + f(a.tail, b.tail))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
scalgos/src/main/scala/com/github/pathikrit/scalgos/DynamicProgramming.scala
Line 146 in 9e99f73
When call editDistance(List("c"),List("b"),2,1,5), the expected cost should be 3 (one deletion + one addition). Now it returns 2.
Probably it can be modified as below?
The text was updated successfully, but these errors were encountered: