09.09.2014 Views

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A. Alhazov, R. Freund, H. Heikenwälder, M. Oswald, Yu. Rogozhin, S. Verlan<br />

2.5 Grammars with Regular C<strong>on</strong>trol and Time-Varying Grammars<br />

Another possibility to capture the idea of c<strong>on</strong>trolling the derivati<strong>on</strong> in a grammar<br />

as with a c<strong>on</strong>trol graph is to c<strong>on</strong>sider the sequence of rules applied during a<br />

computati<strong>on</strong> and to require this sequence to be an element of a regular language:<br />

A grammar with regular c<strong>on</strong>trol and appearance checking is a c<strong>on</strong>struct<br />

G C = (G, H C , L, F )<br />

where G = (O, O T , w, P, =⇒ G ) is a grammar of type X and L is a regular<br />

language over H C , where H C is the set of labels identifying the subsets of producti<strong>on</strong>s<br />

from P in a <strong>on</strong>e-to-<strong>on</strong>e manner (H C is a bijective functi<strong>on</strong> <strong>on</strong> 2 P ), and<br />

F ⊆ H C . The language generated by G C c<strong>on</strong>sists of all terminal objects z such<br />

that there exist a string H C (P 1 ) · · · H C (P n ) ∈ L as well as objects w i ∈ O,<br />

1 ≤ i ≤ n + 1, such that w = w 1 , z = w n+1 , and, for all 1 ≤ i ≤ n, either<br />

– w i =⇒ G w i+1 by some producti<strong>on</strong> from P i or<br />

– w i = w i+1 , no producti<strong>on</strong> from P i is applicable to w i , and H C (P i ) ∈ F .<br />

It is rather easy to see that the model of grammars with regular c<strong>on</strong>trol is<br />

closely related with the model of graph-c<strong>on</strong>trolled grammars in the sense that<br />

the c<strong>on</strong>trol graph corresp<strong>on</strong>ds to the deterministic finite automat<strong>on</strong> accepting L.<br />

Hence, we may also speak of a grammar with regular c<strong>on</strong>trol and without appearance<br />

checking if F = ∅, and if F = H C then G C is said to be a grammar with regular<br />

c<strong>on</strong>trol and unc<strong>on</strong>diti<strong>on</strong>al transfer. The corresp<strong>on</strong>ding families of languages<br />

are denoted by L (X-C (REG) ac<br />

), L (X-C (REG)), and L (X-C (REG) ut<br />

).<br />

Obviously, the c<strong>on</strong>trol languages can also be taken from another family of languages<br />

Y , e.g., L (CF ), thus yielding the families L (X-C (Y ) ac<br />

), etc., but in this<br />

paper we shall restrict ourselves to the cases Y = REG and Y = REG 1∗ (k, p).<br />

For Y = REG 1∗ (1, p), these grammars are also known as (periodically) timevarying<br />

grammars, as a c<strong>on</strong>trol language {H C (P 1 ) · · · H C (P p )} ∗ means that the<br />

set of producti<strong>on</strong>s available at a time t in a derivati<strong>on</strong> is P i if t = kp + i, k ≥ 0;<br />

p is called the period of the time-varying system. The corresp<strong>on</strong>ding families<br />

of languages generated by time-varying grammars with appearance checking,<br />

without appearance checking, with unc<strong>on</strong>diti<strong>on</strong>al transfer and with period p are<br />

denoted by L (X-T V ac (p)), L (X-T V (p)), and L (X-T V ut (p)), respectively; if p<br />

may be arbitrarily large, p is replaced by ∗ in these noti<strong>on</strong>s.<br />

In many cases it is not necessary to insist that the c<strong>on</strong>trol string<br />

H C (P 1 ) · · · H C (P n ) of a derivati<strong>on</strong> is in L, it usually also is sufficient that<br />

H C (P 1 ) · · · H C (P n ) is a prefix of some string in L. We call this c<strong>on</strong>trol weak<br />

and replace C by wC and T V by wT V in the noti<strong>on</strong>s of the families of languages.<br />

We should like to menti<strong>on</strong> that in the case of wT V the c<strong>on</strong>trol words<br />

are just prefices of the ω-word (H C (P 1 ) · · · H C (P p )) ω .<br />

104

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!