Approximation Algorithms for the Longest Run Subsequence Problem
Approximation Algorithms for the Longest Run Subsequence Problem
复制标题
DOI:
10.4230/lipics.cpm.2023.2
复制
发表时间:
2023
期刊:
影响因子:
12.3
通讯作者:
Y. Asahiro;Hiroshi Eto;Mingyang Gong;J. Jansson;Guohui Lin;Eiji Miyano;H. Ono;Shunichi Tanaka
中科院分区:
文献类型:
--
作者:
Y. Asahiro;Hiroshi Eto;Mingyang Gong;J. Jansson;Guohui Lin;Eiji Miyano;H. Ono;Shunichi Tanaka
We study the approximability of the Longest Run Subsequence problem ( LRS for short). For a string S = s 1 · · · s n over an alphabet Σ, a run of a symbol σ ∈ Σ in S is a maximal substring of consecutive occurrences of σ . A run subsequence S ′ of S is a sequence in which every symbol σ ∈ Σ occurs in at most one run. Given a string S , the goal of LRS is to find a longest run subsequence S ∗ of S such that the length | S ∗ | is maximized over all the run subsequences of S . It is known that LRS is APX-hard even if each symbol has at most two occurrences in the input string, and that LRS admits a polynomial-time k -approximation algorithm if the number of occurrences of every symbol in the input string is bounded by k . In this paper, we design a polynomial-time k +12 -approximation algorithm for LRS under the k -occurrence constraint on input strings. For the case k = 2, we further improve the approximation ratio from 32 to 43 .