Weighted Shortest Common Supersequence Problem Revisited
Abstract
A weighted string, also known as a position weight matrix, is a sequence of probability distributions over some alphabet. We revisit the Weighted Shortest Common Supersequence (WSCS) problem, introduced by Amir et al. [SPIRE 2011], that is, the SCS problem on weighted strings. In the WSCS problem, we are given two weighted strings and and a threshold on probability, and we are asked to compute the shortest (standard) string such that both and match subsequences of (not necessarily the same) with probability at least . Amir et al. showed that this problem is NP-complete if the probabilities, including the threshold , are represented by their logarithms (encoded in binary). We present an algorithm that solves the WSCS problem for two weighted strings of length over a constant-sized alphabet in time. Notably, our upper bound matches known conditional lower bounds stating that the WSCS problem cannot be solved in time or in time unless there is a breakthrough improving upon long-standing upper bounds for fundamental NP-hard problems (CNF-SAT and Subset Sum, respectively). We also discover a fundamental difference between the WSCS problem and the Weighted Longest Common Subsequence (WLCS) problem, introduced by Amir et al. [JDA 2010]. We show that the WLCS problem cannot be solved in time, for any function , unless .
Keywords
Cite
@article{arxiv.1909.11433,
title = {Weighted Shortest Common Supersequence Problem Revisited},
author = {Panagiotis Charalampopoulos and Tomasz Kociumaka and Solon P. Pissis and Jakub Radoszewski and Wojciech Rytter and Juliusz Straszyński and Tomasz Waleń and Wiktor Zuba},
journal= {arXiv preprint arXiv:1909.11433},
year = {2019}
}
Comments
Accepted to SPIRE'19