具有最大或最小维数的字符串分解
String factorisations with maximum or minimum dimension
摘要:
在本文中,我们考虑两个问题的字符串分解。具体地,给定字符串$w$和整数$k$,找到$w$的因式分解,其中每个因子具有由$k$限定的长度,并且具有不同因子的最小(FmD问题)或最大(FMD问题)数量。在文献[9]中,证明了FmD是NP难的,即使是$k=2$也是NP难的,并给出了一个$3/2$ -近似算法. FMD问题,据我们所知,还没有被认为是在文献中。我们证明了这个问题对任何$k\geq 3$都是NP难的。鉴于此,我们提出了一个$2$近似算法(对于任何$k$),一个精确的指数算法.最后,我们提出一些悬而未决的问题。
英文摘要:
In this paper we consider two problems concerning string factorisation. Specifically given a string $w$ and an integer $k$ find a factorisation of $w$ where each factor has length bounded by $k$ and has the minimum (the FmD problem) or the maximum (the FMD problem) number of different factors. The FmD has been proved to be NP-hard even if $k=2$ in [9] and for this case we provide a $3/2$-approximation algorithm. The FMD problem, up to our knowledge has not been considered in the literature. We show that this problem is NP-hard for any $k\geq 3$. In view of this we propose a $2$-approximation algorithm (for any $k$) an exact exponential algorithm. We conclude with some open problems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。