|
ABSTRACT
The Extended String-to-String Correction Problem [ESSCP] is defined as the problem of determining, for given strings A and B over alphabet V, a minimum-cost sequence S of edit operations such that S(A) &equil; B. The sequence S may make use of the operations: Change, Insert, Delete and Swaps, each of constant cost WC, WI, WD, and WS respectively. Swap permits any pair of adjacent characters to be interchanged. The principal results of this paper are: (1) a brief presentation of an algorithm (the CELLAR algorithm) which solves ESSCP in time Ø(¦A¦* ¦B¦* ¦V¦s*s), where s &equil; min(4WC, WI+WD)/WS + 1; (2) presentation of polynomial time algorithms for the cases (a) WS &equil; 0, (b) WS > 0, WC&equil; WI&equil; WD&equil; @@@@; (3) proof that ESSCP, with WI < WC &equil; WD &equil; @@@@, 0 < WS < @@@@, suitably encoded, is NP-complete. (The remaining case, WS&equil; @@@@, reduces ESSCP to the string-to-string correction problem of [1], where an Ø( ¦A¦* ¦B¦) algorithm is given.) Thus, “almost all” ESSCP's can be solved in deterministic polynomial time, but the general problem is NP-complete.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
 |
2
|
|
| |
3
|
Wagner, R. A. & Brown, T. P., "Swap-extended minimum edit distance correction for regular languages", Technical Report, Systems and Information Science Program, Vanderbilt University (January 1975).
|
| |
4
|
Karp, R. M., "Reducibility among combinatorial problems" in Complexity of Computer Computations, Miller, R. E. & Thatcher, J. W. (ed.), Plenum Press (1972), pp. 85-104.
|
| |
5
|
Wagner, R. A., "Generalized correction of context-free languages", Technical Report, Systems and Information Science Program, Vanderbilt Univeristy (1973).
|
| |
6
|
Gaver, G. P. & Thompson, G. L., Mathematical Models: Programming and Probability (1966).
|
CITED BY 18
|
|
Amihood Amir , Richard Cole , Ramesh Hariharan , Moshe Lewenstein , Ely Porat, Overlap matching, Proceedings of the twelfth annual ACM-SIAM symposium on Discrete algorithms, p.279-288, January 07-09, 2001, Washington, D.C., United States
|
|
|
|
|
|
Amihood Amir , Moshe Lewenstein , Ely Porat, Faster algorithms for string matching with k mismatches, Proceedings of the eleventh annual ACM-SIAM symposium on Discrete algorithms, p.794-803, January 09-11, 2000, San Francisco, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Amihood Amir , Eran Chencinski , Costas Iliopoulos , Tsvi Kopelowitz , Hui Zhang, Property matching and weighted matching, Theoretical Computer Science, v.395 n.2-3, p.298-310, May, 2008
|
|
|
|
|
|
|
|