@article{backofen11:_spars_rna, author = {Rolf Backofen and Dekel Tsur and Shay Zakov and Michal Ziv-Ukelson}, title = {Sparse {RNA} folding: Time and space efficient algorithms}, journal = {J. Discrete Algorithms}, volume = 9, number = 1, year = 2011, pages = {12-31}, ee = {http://dx.doi.org/10.1016/j.jda.2010.09.001}, bibsource = {DBLP, http://dblp.uni-trier.de}, abstract = {The currently fastest algorithm for RNA Single Strand Folding requires O(nZ) time and Θ(n2) space, where n denotes the length of the input string and Z is a sparsity parameter satisfying n <= Z < n2. We show how to reduce the time and space complexities of this algorithm in the sparse case. The space reduction is based on the observation that some solutions for sub-instances are not examined after a certain stage of the algorithm, and may be discarded from memory. The running time speed up is achieved by combining two independent sparsification criteria, which restrict the number of expressions that need to be examined in bottleneck computations of the algorithm. This yields an O(n2 + P Z) time and Θ(Z) space algorithm, where P is a sparsity parameter satisfying P < n <= Z <= n(P +1). For the base-pairing maximization variant, the time complexity is further reduced to O(LZ), where L denotes the maximum number of base-pairs in a folding of the input string and satisfies L <=n\2. The presented techniques also extend to the related RNA Simultaneous Alignment and Folding problem. For an input composed of two strings of lengths n and m, the time and space complexities are reduced from O(nm˜Z) and Θ(n2m2) down to O(n2m2 + ˜P ˜Z) and Θ(nm2 + ˜Z ) respectively, where ˜Z and ˜P are sparsity parameters satisfying ˜P