Greedy Shortest Common Superstring Approximation in Compact Space

Jarno Alanko, Tuukka Norri
7/24/2017
7 citations
cs.DS

Official code: tsnorri/compact-superstring (2 stars, C++, GPL-3.0, last commit 2017-08-22).

Abstract

Given a set of strings, the shortest common superstring problem is to find the shortest possible string that contains all the input strings. The problem is NP-hard, but a lot of work has gone into designing approximation algorithms for solving the problem.

Show full abstract

We present the first time and space efficient implementation of the classic greedy heuristic which merges strings in decreasing order of overlap length. Our implementation works in $O(n \log σ)$ time and bits of space, where $n$ is the total length of the input strings in characters, and $σ$ is the size of the alphabet. After index construction, a practical implementation of our algorithm uses roughly $5 n \log σ$ bits of space and reasonable time for a real dataset that consists of DNA fragments.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Use a greedy approximation algorithm to find the shortest common superstring of given strings.

20C++, MakefileNov 2, 20169 years agoGPL-3.0

Similar Papers

Cite this paper

@article{alanko2017greedy,
  title  = {Greedy Shortest Common Superstring Approximation in Compact Space},
  author = {Jarno Alanko and Tuukka Norri},
  year   = {2017},
  eprint = {1707.07727},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.07727}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1707.07727.svg)](https://codeofpaper.com/paper/1707.07727)

Discussion