Algorithms for ranking and unranking the combinatorial set of RNA secondary structures
Data Structures and Algorithms
2023-01-30 v1 Discrete Mathematics
Abstract
In this paper, we study the combinatorial set of RNA secondary structures of length with 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 for and for . In contrast to the existing algorithms, the new algorithms do not require preprocessing steps and have better time complexity.
Keywords
Cite
@article{arxiv.2301.11890,
title = {Algorithms for ranking and unranking the combinatorial set of RNA secondary structures},
author = {Yuriy Shablya and Dmitry Kruchinin},
journal= {arXiv preprint arXiv:2301.11890},
year = {2023}
}
Comments
14 pages