arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1908.01562cs.DS
收藏

广义函数匹配的启发式算法

Heuristic Algorithm for Generalized Function Matching

Radu Stefan Mincu

摘要:

广义函数匹配问题可以定义如下:给定模式$p=p_1 \cdots p_m$和文本$t=t_1 \cdots t_n$,找到一个映射$f:Σ_p\rightarrowΣ_t^{*}$和所有文本位置$i$,使得$f(p_1) f(p_2) \cdots f(p_m) = t_i \cdots t_j$,是$t$的子串。通过修改匹配函数$f$的限制,可以得到不同的匹配问题,其中许多具有重要的应用。当进行$f:Σ_p\rightarrowΣ_t$时,我们面临在组合模式匹配的成熟领域中发现的问题。如果单个字符约束被解除,并且$f:Σ_p\rightarrowΣ_t^{*}$,我们得到Amir和Nor(JDA 2007)介绍的广义函数匹配。如果我们进一步将$f$约束为内射,那么我们就得到了Clifford等人定义的广义参数化匹配(SPIRE 2009)。模式匹配在计算生物学、文本编辑器和数据压缩等方面有许多重要的应用。因此,许多有效的算法已经开发了各种各样的具体问题,包括寻找DNA序列中的串联重复序列,通过重用代码优化嵌入式系统等。在这项工作中,我们提出了一种启发式算法,说明了一种实用的方法来解决广义函数匹配的变体,其中$f:Σ_p\rightarrowΣ_t^{+}$,并证明其性能对人类产生的文本以及随机字符串。

英文摘要:

The problem of generalized function matching can be defined as follows: given a pattern $p=p_1 \cdots p_m$ and a text $t=t_1 \cdots t_n$, find a mapping $f:Σ_p\rightarrowΣ_t^{*}$ and all text locations $i$ such that $f(p_1) f(p_2) \cdots f(p_m) = t_i \cdots t_j$, a substring of $t$. By modifying the restrictions of the matching function $f$, one can obtain different matching problems, many of which have important applications. When $f:Σ_p\rightarrowΣ_t$ we are faced with problems found in the well-established field of combinatorial pattern matching. If the single character constraint is lifted and $f:Σ_p\rightarrowΣ_t^{*}$, we obtain generalized function matching as introduced by Amir and Nor (JDA 2007). If we further constrain $f$ to be injective, then we arrive at generalized parametrized matching as defined by Clifford et al. (SPIRE 2009). There are a number of important applications for pattern matching in computational biology, text editors and data compression, to name a few. Therefore, many efficient algorithms have been developed for a wide variety of specific problems including finding tandem repeats in DNA sequences, optimizing embedded systems by reusing code etc. In this work we present a heuristic algorithm illustrating a practical approach to tackling a variant of generalized function matching where $f:Σ_p\rightarrowΣ_t^{+}$ and demonstrate its performance on human-produced text as well as random strings.

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

↑