ACM Home Page
Please provide us with feedback. Feedback
On the complexity of the Extended String-to-String Correction Problem
Full text PdfPdf (364 KB)
Source Annual ACM Symposium on Theory of Computing archive
Proceedings of seventh annual ACM symposium on Theory of computing table of contents
Albuquerque, New Mexico, United States
Pages: 218 - 223  
Year of Publication: 1975
Author
Sponsors
ACM: Association for Computing Machinery
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 9,   Downloads (12 Months): 37,   Citation Count: 18
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800116.803771
What is a DOI?

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