Algorithms for ranking and unranking the combinatorial set of RNA secondary structures
Abstract
In this paper, we study the combinatorial set of RNA secondary structures of length n with m base-pairs. For a compact representation, we encode an RNA secondary structure by the corresponding Motzkin word. For this combinatorial set, we construct an AND/OR tree structure, find a bijection between the combinatorial set and the set of variants of the AND/OR tree, and develop algorithms for ranking and unranking the variants of the AND/OR tree. The developed ranking and unranking algorithms have polynomial time complexity O(m2 (n - m)) for m < n - 2 m and O(m (n - m)2) for m > n - 2 m. In contrast to the existing algorithms, the new algorithms do not require preprocessing steps and have better time complexity.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.