Compacting a dynamic edit distance table by RLE compression

Heikki Hyyrö, Shunsuke Inenaga

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Citations (Scopus)

Abstract

Kim and Park [A dynamic edit distance table, J. Disc. Algo., 2:302–312, 2004] proposed a method (KP) based on a “dynamic edit distance table” that allows one to efficiently maintain edit distance information between two strings A of length m and B of length n when the strings can be modified by single-character edits to their left or right ends. This type of computation is useful e.g. in cyclic string comparison. KP uses linear time, O(m + n), to update the distance representation after each single edit. As noted in a recent extension of KP by Hyyrö et al. [Incremental string comparison, J. Disc. Algo., 34:2-17, 2015], a practical bottleneck is that the method needs Θ(mn) space to store a representation of a complete m×n edit distance table. In this paper we take the first steps towards reducing the space usage by RLE compressing A and B. Let M and N be the lengths of RLE compressed versions of A and B, respectively. We propose how to store the edit distance table using Θ(mN + Mn) space while maintaining the same time complexity as the original method that does not use compression.

Original languageEnglish
Title of host publicationSOFSEM 2016
Subtitle of host publicationTheory and Practice of Computer Science - 42nd International Conference on Current Trends in Theory and Practice of Computer Science, Proceedings
EditorsRūsiņš Mārtiņš Freivalds, Gregor Engels, Barbara Catania
PublisherSpringer Verlag
Pages302-313
Number of pages12
ISBN (Print)9783662491911
DOIs
Publication statusPublished - 2016
Event42nd International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2016 - Harrachov, Czech Republic
Duration: Jan 23 2016Jan 28 2016

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9587
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Other

Other42nd International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2016
Country/TerritoryCzech Republic
CityHarrachov
Period1/23/161/28/16

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint

Dive into the research topics of 'Compacting a dynamic edit distance table by RLE compression'. Together they form a unique fingerprint.

Cite this