New clique and independent set algorithms for circle graphs
Discrete Applied Mathematics
The art of computer programming, volume 3: (2nd ed.) sorting and searching
The art of computer programming, volume 3: (2nd ed.) sorting and searching
Maximum k-Chains in Planar Point Sets: Combinatorial Structure and Algorithms
SIAM Journal on Computing
Enumerating longest increasing subsequences and patience sorting
Information Processing Letters
Longest increasing subsequences in sliding windows
Theoretical Computer Science
Longest common subsequences in permutations and maximum cliques in circle graphs
CPM'06 Proceedings of the 17th Annual conference on Combinatorial Pattern Matching
Hi-index | 0.01 |
We consider the Lisw problem, which is to find the longest increasing subsequences (LIS) in a sliding window of fixed-size w over a sequence π1π2...πn. Formally, it is to find a LIS for every window in a set SFIX ={π〈i+1, i+w〉|0≤i≤n−w}∪{π〈1, i〉, π〈n−i, n〉|iw}, where a window π〈l,r〉 is a subsequence πlπl+1...πr. By maintaining a canonical antichain partition in windows, we present an optimal output-sensitive algorithm to solve this problem in O(output) time, where output is the sum of the length of the n+w–1 longest increasing subsequences in those windows of SFIX. In addition, we propose a more generalized problem called Lisset, which is to find the LIS for every window in a set SVAR containing variable-size windows. By applying our algorithm, we provide an efficient solution for Lisset problem which is better than the straight forward generalization of classical LIS algorithms. An upper bound of our algorithm on Lisset is discussed.