![]() |
![]()
| ![]() |
![]()
NAMEAlgorithm::LCS - Fast (XS) implementation of the
SYNOPSISuse Algorithm::LCS; $alg = Algorithm::LCS->new; @lcs = $alg->LCS(\@a,\@b); $cb = $alg->callback(@b); # closure @lcs = $cb->(\@a); # same result as prior LCS() call ABSTRACTAlgorithm::LCS reimplements Algorithm::Diff's core loop in XS, and provides a simple OO interface to it. Extract from the Algorithm::Diff v1.15 manpage: The algorithm is that described in I<A Fast Algorithm for Computing Longest Common Subsequences>, CACM, vol.20, no.5, pp.350-353, May 1977, with a few minor improvements to improve the speed. DESCRIPTIONCONSTRUCTOR
METHODS
EXPORTNone by design. SEE ALSOAlgorithm::Diff AUTHORJoe Schaefer, <joe+cpan@sunstarsys.com> COPYRIGHT AND LICENSECopyright 2003 by Joe Schaefer This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|