Reversible programming: a case study of two string-matching algorithms

Publikation: Bidrag til bog/antologi/rapportKonferencebidrag i proceedingsForskningfagfællebedømt

Dokumenter

  • fulltext

    Forlagets udgivne version, 201 KB, PDF-dokument

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
OriginalsprogEngelsk
TitelProceedings 9th Workshop on Horn Clauses for Verification and Synthesis and 10th International Workshop on Verification and Program Transformation
RedaktørerGeoff W. Hamilton, Temesghen Kahsai, Maurizio Proietti
ForlagarXiv.org
Publikationsdato2022
Sider1-13
DOI
StatusUdgivet - 2022
Begivenhed9th Workshop on Horn Clauses for Verification and Synthesis and 10th International Workshop on Verification and Program Transformation - Munich, Tyskland
Varighed: 3 apr. 20223 apr. 2022

Konference

Konference9th Workshop on Horn Clauses for Verification and Synthesis and 10th International Workshop on Verification and Program Transformation
LandTyskland
ByMunich
Periode03/04/202203/04/2022
NavnElectronic Proceedings in Theoretical Computer Science, EPTCS
Vol/bind373
ISSN2075-2180

ID: 328380400