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

带有压缩标签的NFA(DFA)的压缩成员资格位于NP(P)中

Compressed Membership for NFA (DFA) with Compressed Labels is in NP (P)

Artur Jeż

摘要:

本文研究了具有压缩转移标签的有限自动机的压缩隶属度问题,包括确定性和非确定性自动机。压缩由直线程序(SLP)表示,即,上下文无关文法仅生成一个字符串。介绍了一种新的处理SLP的技术:SLP被重新压缩,使得输入文本的子串以与表示输入文本的SLP相同的方式被编码在标记NFA(DFA)的转换的SLP中。为此,SLP被本地解压缩,然后以统一的方式重新压缩。此外,这种重新压缩只会引起自动机的微小变化,特别是,自动机的大小仍然是多项式。使用这种技术,它表明,压缩的NFA与压缩标签的压缩隶属度是在NP,从而证实了Plandowski和Rytter的猜想和扩展的部分结果Lohrey和Mathissen的,因为它是已知的,这个问题是NP-难的,我们解决其确切的计算复杂性。此外,同样的技术应用于压缩标签的DFA的压缩成员资格,得出这个问题是在P中;对于这个问题,只有平凡的上限PSPACE是已知的。

英文摘要:

In this paper, a compressed membership problem for finite automata, both deterministic and non-deterministic, with compressed transition labels is studied. The compression is represented by straight-line programs (SLPs), i.e. context-free grammars generating exactly one string. A novel technique of dealing with SLPs is introduced: the SLPs are recompressed, so that substrings of the input text are encoded in SLPs labelling the transitions of the NFA (DFA) in the same way, as in the SLP representing the input text. To this end, the SLPs are locally decompressed and then recompressed in a uniform way. Furthermore, such recompression induces only small changes in the automaton, in particular, the size of the automaton remains polynomial. Using this technique it is shown that the compressed membership for NFA with compressed labels is in NP, thus confirming the conjecture of Plandowski and Rytter and extending the partial result of Lohrey and Mathissen; as it is already known, that this problem is NP-hard, we settle its exact computational complexity. Moreover, the same technique applied to the compressed membership for DFA with compressed labels yields that this problem is in P; for this problem, only trivial upper-bound PSPACE was known.

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

↑