Compressed Membership for NFA (DFA) with Compressed Labels is in NP (P) - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2012

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

Résumé

In this paper, a compressed membership problem for finite automata, both deterministic (DFAs) and non-deterministic (NFAs), 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, in order to reflect the recompression in the NFA, we need to modify it only a little, in particular its size stays polynomial in the input size. 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 [Plandowski Rytter 1999] and extending the partial result of Lohrey and Mathissen [Lohrey and Mathissen 2011]; as this problem is known to be 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, and this problem is known to be P-hard.
Fichier principal
Vignette du fichier
22.pdf (386.44 Ko) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte
Loading...

Dates et versions

hal-00678177 , version 1 (03-02-2012)

Identifiants

  • HAL Id : hal-00678177 , version 1

Citer

Artur Jez. Compressed Membership for NFA (DFA) with Compressed Labels is in NP (P). STACS'12 (29th Symposium on Theoretical Aspects of Computer Science), Feb 2012, Paris, France. pp.136-147. ⟨hal-00678177⟩

Collections

STACS2012
82 Consultations
145 Téléchargements

Partager

Gmail Facebook X LinkedIn More