@inproceedings{42ba1de12e494ef8836835c4ac3a61d8,
title = "Reversible programming: a case study of two string-matching algorithms",
abstract = "String matching is a fundamental problem in algorithm. This study examines the development and construction of two reversible string-matching algorithms: a naive string-matching algorithm and the Rabin-Karp algorithm. The algorithms are used to introduce reversible computing concepts, beginning from basic reversible programming techniques to more advanced considerations about the injectivization of the polynomial hash-update function employed by the Rabin-Karp algorithm. The results are two clean input-preserving reversible algorithms that require no additional space and have the same asymptotic time complexity as their classic irreversible originals. This study aims to contribute to the body of reversible algorithms and to the discipline of reversible programmin",
author = "Robert Gl{\"u}ck and Tetsuo Yokoyama",
year = "2022",
doi = "10.4204/EPTCS.373.1",
language = "English",
series = "Electronic Proceedings in Theoretical Computer Science, EPTCS",
publisher = "arXiv.org",
pages = "1--13",
editor = "Hamilton, {Geoff W.} and Temesghen Kahsai and Maurizio Proietti",
booktitle = "Proceedings 9th Workshop on Horn Clauses for Verification and Synthesis and 10th International Workshop on Verification and Program Transformation",
note = "9th Workshop on Horn Clauses for Verification and Synthesis and 10th International Workshop on Verification and Program Transformation ; Conference date: 03-04-2022 Through 03-04-2022",
}