Metraipolis › archive › dc_8804b28f278c

MacCorles: Minimum Alignment Cost Computation on Run-Length Encoded Strings — arXiv:2608.13999

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.13999
License (as archived)
CC0-1.0
Archived
2026-10-19T04:07:55.614Z
SHA-256 of the archived text
44c8ac6224013d224f74564484228de0f791b3a5918952d058d20ed73e0a8724
Stable URL of this page
https://metraipolis.com/documento/dc_8804b28f278c

How to cite

MacCorles: Minimum Alignment Cost Computation on Run-Length Encoded Strings — arXiv:2608.13999 — arXiv (en), https://arxiv.org/abs/2608.13999 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8804b28f278c (Metraipolis archive dc_8804b28f278c, sha256 44c8ac6224013d224f74564484228de0f791b3a5918952d058d20ed73e0a8724)
BibTeX
@misc{dc8804b28f278c,
  title = {MacCorles: Minimum Alignment Cost Computation on Run-Length Encoded Strings — arXiv:2608.13999},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.13999},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8804b28f278c; sha256 44c8ac6224013d224f74564484228de0f791b3a5918952d058d20ed73e0a8724},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.13999. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We study a tie-breaking variant of the longest common subsequence problem on run-length encoded strings. Given two strings, the goal is first to maximize the number of equal aligned character pairs, as in the classical longest common subsequence problem, and then, among all such alignments, to minimize the alignment length. Equivalently, after maximizing the number of equal pairs, we minimize the number of insertions and deletions. We show that this problem admits a simple block-boundary dynamic program. If the input strings have lengths $N$ and $M$, and their run-length encodings have $n$ and $m$ runs, respectively, the algorithm runs in $O(mN+nM)$ time using $O(nm)$ space. The algorithm treats every pair of runs as a homogeneous block with an explicit transfer function and stores dynamic-programming values only on run boundaries.

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-17 in cs.DS).
Categorie arXiv: Data Structures and Algorithms (cs.DS).
Pagina del lavoro: https://arxiv.org/abs/2608.13999 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T03:59:09.441Z dalla pagina https://arxiv.org/catchup/cs.DS/2026-08-17?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).