Journal of Combinatorial Optimization

, Volume 13, Issue 3, pp 263–275

Improved algorithms for largest cardinality 2-interval pattern problem


DOI: 10.1007/s10878-006-9030-8

Cite this article as:
Chen, E., Yang, L. & Yuan, H. J Comb Optim (2007) 13: 263. doi:10.1007/s10878-006-9030-8


The 2-INTERVAL PATTERN problem is to find the largest constrained pattern in a set of 2-intervals. The constrained pattern is a subset of the given 2-intervals such that any pair of them are R-comparable, where model \(R \subseteq \{ <, \sqsubset, \mathtt{(\hspace{-3.5pt})} \}\). The problem stems from the study of general representation of RNA secondary structures. In this paper, we give three improved algorithms for different models. Firstly, an O(n{log} n +L) algorithm is proposed for the case \(R= \{ \mathtt{(\hspace{-3.5pt})} \} \), where \({\cal L}=O(dn)=O(n^2)\) is the total length of all 2-intervals (density d is the maximum number of 2-intervals over any point). This improves previous O(n2log n) algorithm. Secondly, we use dynamic programming techniques to obtain an O(nlog n + dn) algorithm for the case R = { <, ⊏ }, which improves previous O(n2) result. Finally, we present another\(O(n {\rm log} n +{\cal L})\) algorithm for the case \(R = \{\sqsubset, \mathtt{(\hspace{-3.5pt})} \}\) with disjoint support(interval ground set), which improves previous O(n2n) upper bound.


RNA secondary structure 2-interval pattern 

Copyright information

© Springer Science+Business Media, LLC 2006

Authors and Affiliations

  1. 1.Department of Computer Science and EngineeringShanghai Jiao Tong UniversityShanghaiP.R. China

Personalised recommendations