arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.20790cs.DScs.FLmath.CO
收藏

(集合的) 补散集因子

(Sets of ) Complement Scattered Factors

University of St Andrews(圣安德鲁斯大学);Kiel University(基尔大学)

Duncan Adamson, Pamela Fleischmann, Annika Huch

AI总结:

本文引入补散集因子概念,研究其在字符串中的性质与算法,提出计算和构造补散集因子的多项式时间算法。

摘要:

自20世纪70年代初Imre Simon的奠基性工作以来,散集因子(也称为子序列或散集子词)一直是持续且广泛研究的对象。关于散集因子的大多数研究可以分为两类问题:给定一个词,它包含哪些信息,以散集因子的形式存在,哪些不存在。在本文中,我们考虑一个中间问题,引入了散集因子的概念。给定一个词w和一个散集因子u of w,关于u的散集因子C(w, u)是w中可以通过从w中移除任何嵌入u形成的散集因子的集合。这与shuffle操作密切相关,其中两个词相互交织,即我们扩展了与shuffle操作相关的先前工作,利用关于散集因子的知识。除了引入这些集合外,我们还提供了关于集合C(w, u)大小的组合结果,一个从w和u计算C(w, u)的算法,时间复杂度为O(|w|·|u|·C(w, u)),其中C(w, u)表示u嵌入到w中的数量,一个从w和C(w, u)构造u的算法,时间复杂度为O(|w|²·C(|w|, |w| - |u|)),以及一个从u和C(w, u)构造w的算法,时间复杂度为O(|u|·|w|^{ |u| + 1 })。

英文摘要:

Starting in the 1970s with the fundamental work of Imre Simon, \emph{scattered factors} (also known as subsequences or scattered subwords) have remained a consistently and heavily studied object. The majority of work on scattered factors can be split into two broad classes of problems: given a word, what information, in the form of scattered factors, are contained, and which are not. In this paper, we consider an intermediary problem, introducing the notion of \emph{complement scattered factors}. Given a word $w$ and a scattered factor $u$ of $w$, the complement scattered factors of $w$ with regards to $u$, $C(w, u)$, is the set of scattered factors in $w$ that can be formed by removing any embedding of $u$ from $w$. This is closely related to the \emph{shuffle} operation in which two words are intertwined, i.e., we extend previous work relating to the shuffle operator, using knowledge about scattered factors. Alongside introducing these sets, we provide combinatorial results on the size of the set $C(w, u)$, an algorithm to compute the set $C(w, u)$ from $w$ and $u$ in $O(\vert w \vert \cdot \vert u \vert \binom{w}{u})$ time, where $\binom{w}{u}$ denotes the number of embeddings of $u$ into $w$, an algorithm to construct $u$ from $w$ and $C(w, u)$ in $O(\vert w \vert^2 \binom{\vert w \vert}{\vert w \vert - \vert u \vert})$ time, and an algorithm to construct $w$ from $u$ and $C(w, u)$ in $O(\vert u \vert \cdot \vert w \vert^{\vert u \vert + 1})$ time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑