{"id":{"repo_id":"uvic","oai_identifier":"oai:dspace.library.uvic.ca:1828/4884"},"canonical_url":"https://search.ndltd.org/etd/uvic/oai:dspace.library.uvic.ca:1828/4884","repository":{"repo_id":"uvic","name":"University of Victoria (Canada)","base_url":"https://dspace.library.uvic.ca/server/oai/request"},"display":{"title":"The Binary String-to-String Correction Problem","abstract":"String-to-String Correction is the process of transforming some mutable string M into an exact copy of some other string (the target string T), using a shortest sequence of well-defined edit operations. The formal STRING-TO-STRING CORRECTION problem asks for the optimal solution using just two operations: symbol deletion, and swap of adjacent symbols. String correction problems using only swaps and deletions are computationally interesting; in his paper On the Complexity of the Extended String-to-String Correction Problem (1975), Robert Wagner proved that the String-to-String Correction problem under swap and deletion operations only is NP-complete for unbounded alphabets. In this thesis, we present the first careful examination of the binary-alphabet case, which we call Binary String-to-String Correction (BSSC). We present several special cases of BSSC for which an optimal solution can be found in polynomial time; in particular, the case where T and M have an equal number of occurrences of a given symbol has a polynomial-time solution. As well, we demonstrate and prove several properties of BSSC, some of which do not necessarily hold in the case of String-to-String Correction. For instance: that the order of operations is irrelevant; that symbols in the mutable string, if swapped, will only ever swap in one direction; that the length of the Longest Common Subsequence (LCS) of the two strings is monotone nondecreasing during the execution of an optimal solution; and that there exists no correlation between the effect of a swap or delete operation on LCS, and the optimality of that operation. About a dozen other results that are applicable to Binary String-to-String Correction will also be presented.","abstract_html":"String-to-String Correction is the process of transforming some mutable string M into an exact copy of some other string (the target string T), using a shortest sequence of well-defined edit operations. The formal STRING-TO-STRING CORRECTION problem asks for the optimal solution using just two operations: symbol deletion, and swap of adjacent symbols. String correction problems using only swaps and deletions are computationally interesting; in his paper On the Complexity of the Extended String-to-String Correction Problem (1975), Robert Wagner proved that the String-to-String Correction problem under swap and deletion operations only is NP-complete for unbounded alphabets. In this thesis, we present the first careful examination of the binary-alphabet case, which we call Binary String-to-String Correction (BSSC). We present several special cases of BSSC for which an optimal solution can be found in polynomial time; in particular, the case where T and M have an equal number of occurrences of a given symbol has a polynomial-time solution. As well, we demonstrate and prove several properties of BSSC, some of which do not necessarily hold in the case of String-to-String Correction. For instance: that the order of operations is irrelevant; that symbols in the mutable string, if swapped, will only ever swap in one direction; that the length of the Longest Common Subsequence (LCS) of the two strings is monotone nondecreasing during the execution of an optimal solution; and that there exists no correlation between the effect of a swap or delete operation on LCS, and the optimality of that operation. About a dozen other results that are applicable to Binary String-to-String Correction will also be presented.","abstract_has_math":false,"creators":["Spreen, Thomas D."],"institution":null,"degree_name":null,"degree_level":"Master of Science M.Sc.","degree_discipline":null,"degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":["Ruskey, Frank","Stege, Ulrike"],"committee_chairs":[],"committee_members":[],"year":2013,"date_issued":"2013-08-30","date_published":"2013-08-30","updated_at":"2026-11-19T09:44:14Z","subjects":["transportation problem","np-hard","swap","deletion","binary string","Iversonian","target string","mutable string","longest common subsequence","lcs","binary string-to-string correction"],"languages":["en","English"],"rights":["Available to the World Wide Web"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/1828/4884","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"http://hdl.handle.net/1828/4884","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://dspace.library.uvic.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adspace.library.uvic.ca%3A1828%2F4884","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Ruskey, Frank","Stege, Ulrike"]},{"key":"dc:creator","label":"Author","values":["Spreen, Thomas D."]},{"key":"person:email","label":"Person Email","values":["tspreen@gmail.com"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2013-08-30T20:13:39Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2013-08-30T20:13:39Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2013"]},{"key":"dc:date.issued","label":"Date","values":["2013-08-30"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["Department of Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master of Science M.Sc."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["transportation problem","np-hard","swap","deletion","binary string","Iversonian","target string","mutable string","longest common subsequence","lcs","binary string-to-string correction"]},{"key":"dc:subject.proquest","label":"Dc Subject Proquest","values":["0984","0715"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Available to the World Wide Web"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1828/4884"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["String-to-String Correction is the process of transforming some mutable string M into an exact copy of some other string (the target string T), using a shortest sequence of well-defined edit operations. The formal STRING-TO-STRING CORRECTION problem asks for the optimal solution using just two operations: symbol deletion, and swap of adjacent symbols. String correction problems using only swaps and deletions are computationally interesting; in his paper On the Complexity of the Extended String-to-String Correction Problem (1975), Robert Wagner proved that the String-to-String Correction problem under swap and deletion operations only is NP-complete for unbounded alphabets. In this thesis, we present the first careful examination of the binary-alphabet case, which we call Binary String-to-String Correction (BSSC). We present several special cases of BSSC for which an optimal solution can be found in polynomial time; in particular, the case where T and M have an equal number of occurrences of a given symbol has a polynomial-time solution. As well, we demonstrate and prove several properties of BSSC, some of which do not necessarily hold in the case of String-to-String Correction. For instance: that the order of operations is irrelevant; that symbols in the mutable string, if swapped, will only ever swap in one direction; that the length of the Longest Common Subsequence (LCS) of the two strings is monotone nondecreasing during the execution of an optimal solution; and that there exists no correlation between the effect of a swap or delete operation on LCS, and the optimality of that operation. About a dozen other results that are applicable to Binary String-to-String Correction will also be presented."]},{"key":"dc:description.scholarlevel","label":"Dc Description Scholarlevel","values":["Graduate"]},{"key":"dc:title","label":"Title","values":["The Binary String-to-String Correction Problem"]}]}],"canonical_facts":{"dc:contributor.supervisor":["Ruskey, Frank","Stege, Ulrike"],"dc:creator":["Spreen, Thomas D."],"dc:date.accessioned":["2013-08-30T20:13:39Z"],"dc:date.available":["2013-08-30T20:13:39Z"],"dc:date.copyright":["2013"],"dc:date.issued":["2013-08-30"],"dc:description.abstract":["String-to-String Correction is the process of transforming some mutable string M into an exact copy of some other string (the target string T), using a shortest sequence of well-defined edit operations. The formal STRING-TO-STRING CORRECTION problem asks for the optimal solution using just two operations: symbol deletion, and swap of adjacent symbols. String correction problems using only swaps and deletions are computationally interesting; in his paper On the Complexity of the Extended String-to-String Correction Problem (1975), Robert Wagner proved that the String-to-String Correction problem under swap and deletion operations only is NP-complete for unbounded alphabets. In this thesis, we present the first careful examination of the binary-alphabet case, which we call Binary String-to-String Correction (BSSC). We present several special cases of BSSC for which an optimal solution can be found in polynomial time; in particular, the case where T and M have an equal number of occurrences of a given symbol has a polynomial-time solution. As well, we demonstrate and prove several properties of BSSC, some of which do not necessarily hold in the case of String-to-String Correction. For instance: that the order of operations is irrelevant; that symbols in the mutable string, if swapped, will only ever swap in one direction; that the length of the Longest Common Subsequence (LCS) of the two strings is monotone nondecreasing during the execution of an optimal solution; and that there exists no correlation between the effect of a swap or delete operation on LCS, and the optimality of that operation. About a dozen other results that are applicable to Binary String-to-String Correction will also be presented."],"dc:description.scholarlevel":["Graduate"],"dc:identifier.uri":["http://hdl.handle.net/1828/4884"],"dc:language":["English"],"dc:language.iso":["en"],"dc:rights":["Available to the World Wide Web"],"dc:subject":["transportation problem","np-hard","swap","deletion","binary string","Iversonian","target string","mutable string","longest common subsequence","lcs","binary string-to-string correction"],"dc:subject.proquest":["0984","0715"],"dc:title":["The Binary String-to-String Correction Problem"],"dc:type":["Thesis"],"person:email":["tspreen@gmail.com"],"thesis:degree_department":["Department of Computer Science"],"thesis:degree_level":["Master of Science M.Sc."]},"updated_at":"2026-11-19T09:44:14Z"}