Abstract

We consider the problem of computing a solid cover of an indeterminate string. An indeterminate string may contain non-solid symbols, each of which specifies a subset of the alphabet that could be present at the corresponding position. We also consider covering partial words, which are a special case of indeterminate strings where each non-solid symbol is a don’t care symbol. We prove that both indeterminate string covering problem and partial word covering problem are NP-complete for binary alphabet and show that both problems are fixed-parameter tractable with respect to \(k\), the number of non-solid symbols. For the indeterminate string covering problem we obtain a \(2^{\mathcal {O}(k\log k)} + n k^{\mathcal {O}(1)}\)-time algorithm. For the partial word covering problem we obtain a \(2^{\mathcal {O}(\sqrt{k}\log k)} + nk^{\mathcal {O}(1)}\)-time algorithm. We prove that, unless the Exponential Time Hypothesis is false, no \(2^{o(\sqrt{k})} n^{\mathcal {O}(1)}\)-time solution exists for this problem, which shows that our algorithm for this case is close to optimal. We also present an algorithm for both problems which is feasible in practice.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.