Skip to content

Edit_Distance algorithm for genetic string matching #10336

New issue

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

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
Update edit_distance.py
  • Loading branch information
anshul-2010 authored Oct 12, 2023
commit a5d5316fb7832efce0941e1250afe7f02dc54f16
2 changes: 1 addition & 1 deletion genetic_algorithm/edit_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def edit_distance(source: str, target: str) -> int:
counting the minimum number of operations required to transform one string
into another.
In genetic algorithms consisting of A,T, G, and C nucleotides, this matching
becomes essential in understanding the mutation in succesive genes.
becomes essential in understanding the mutation in successive genes.
Hence, this algorithm comes in handy when we are trying to quantify the
mutations in successive generations.
Args:
Expand Down