Algorithm-NCS
view release on metacpan or search on metacpan
Algorithm-NCS/lib/Algorithm/NCS.pm view on Meta::CPAN
use Algorithm::NCS;
Algorthm::NCS::ncs("ABC", "ADC");
=head1 DESCRIPTION
Number of Common Substrings (NCS) - A model and algorithm
for sequence alignment.
The change detection problem is aimed at identifying common and
different strings and usually has non-unique solutions. The identification of the
best alignment is canonically based on finding a
longest common subsequence
(LCS) and is widely used for various purposes. However, many recent version
control systems prefer alternative heuristic algorithms which not only are faster
but also usually produce better alignment than finding an
LCS.
http://psta.psiras.ru/read/psta2015_1_189-197.pdf
http://elib.sfu-kras.ru/bitstream/handle/2311/19864/Znamenskij.pdf?sequence=1
http://dl.acm.org/citation.cfm?id=2977230
( run in 0.386 second using v1.01-cache-2.11-cpan-4e96b696675 )