Arrow Research search
Back to TCS

TCS 2019

Designing and implementing algorithms for the closest string problem

Journal Article journal-article Computer Science · Theoretical Computer Science

Abstract

Given a set of n strings of length L and a radius d, the closest string problem (CSP for short) asks for a string t s o l that is within a Hamming distance of d to each of the given strings. It is known that the problem is NP-hard and its optimization version admits a polynomial time approximation scheme (PTAS). A number of parameterized algorithms have been then developed to solve the problem when d is small. Among them, the relatively new ones have not been implemented before and their performance in practice was unknown. In this study, we implement all of them by careful engineering. For those that have been implemented before, our implementation is much faster. For some of those that have not been implemented before, our experimental results show that there exist huge gaps between their theoretical and practical performances. We also design a new parameterized algorithm for the binary case of CSP. The algorithm is deterministic and runs in O ( n 2 L + n 2 d ⋅ 6. 16 d ) time, while the previously best deterministic algorithm runs in O ( n L + n d 3 ⋅ 6. 731 d ) time.

Authors

Keywords

  • The closest string problem
  • Fixed-parameter algorithms
  • Computational biology
  • Algorithm engineering

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
414472193787599965
v2026.09.13