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.

Time-varying sequential P systems<br />

tuple M = (m, B, l 0 , l h , P ), where m is the number of registers, P is the set of<br />

instructi<strong>on</strong>s bijectively labeled by elements of B, l 0 ∈ B is the initial label, and<br />

l h ∈ B is the final label. The instructi<strong>on</strong>s of M can be of the following forms:<br />

– l 1 : (ADD (j) , l 2 , l 3 ), with l 1 ∈ B \ {l h }, l 2 , l 3 ∈ B, 1 ≤ j ≤ m<br />

Increase the value of register j by <strong>on</strong>e, and n<strong>on</strong>-deterministically jump to<br />

instructi<strong>on</strong> l 2 or l 3 . This instructi<strong>on</strong> is usually called increment.<br />

– l 1 : (SUB (j) , l 2 , l 3 ), with l 1 ∈ B \ {l h }, l 2 , l 3 ∈ B, 1 ≤ j ≤ m<br />

If the value of register j is zero then jump to instructi<strong>on</strong> l 3 , otherwise decrease<br />

the value of register j by <strong>on</strong>e and jump to instructi<strong>on</strong> l 2 . The two cases of<br />

this instructi<strong>on</strong> are usually called zero-test and decrement, respectively.<br />

– l h : HALT . Stop the executi<strong>on</strong> of the register machine.<br />

A c<strong>on</strong>figurati<strong>on</strong> of a register machine is described by the c<strong>on</strong>tents of each<br />

register and by the value of the program counter, which indicates the next instructi<strong>on</strong><br />

to be executed. Computati<strong>on</strong>s start by executing the first instructi<strong>on</strong><br />

of P (labeled with l 0 ), and terminate with reaching a HALT -instructi<strong>on</strong>.<br />

Register machines provide a simple universal computati<strong>on</strong>al model [11]. In<br />

the generative case as we need it later, we start with empty registers, use the first<br />

two registers for the necessary computati<strong>on</strong>s and take as results the c<strong>on</strong>tents of<br />

the k registers 3 to k + 2 in all possible halting computati<strong>on</strong>s; during a computati<strong>on</strong><br />

of M, <strong>on</strong>ly the registers 1 and 2 can be decremented. In the following, we<br />

shall call a specific model of P systems computati<strong>on</strong>ally complete if and <strong>on</strong>ly if<br />

for any register machine M we can effectively c<strong>on</strong>struct an equivalent P system<br />

Π of that type simulating each step of M in a bounded number of steps and<br />

yielding the same results.<br />

2.2 Sequential Grammars<br />

A grammar G of type X is a c<strong>on</strong>struct (O, O T , A, P, =⇒ G ) where O is a set of<br />

objects, O T ⊆ O is a set of terminal objects, A ∈ O is the axiom, and P is a<br />

finite set of rules of type X. Each rule p ∈ P induces a relati<strong>on</strong> =⇒ p ⊆ O × O;<br />

p is called applicable to an object x ∈ O if and <strong>on</strong>ly if there exists at least <strong>on</strong>e<br />

object y ∈ O such that (x, y) ∈ =⇒ p ; we also write x =⇒ p y. The derivati<strong>on</strong><br />

relati<strong>on</strong> =⇒ G is the uni<strong>on</strong> of all =⇒ p , i.e., =⇒ G = ∪ p∈P =⇒ p . The reflexive and<br />

transitive closure of =⇒ G is denoted by =⇒ ∗<br />

G .<br />

The language generated by { G is the set of all}<br />

terminal objects derivable<br />

from the axiom, i.e., L (G) = v ∈ O T | A =⇒ ∗<br />

G v . The family of languages<br />

generated by grammars of type X is denoted by L (X).<br />

In this paper, we c<strong>on</strong>sider string grammars and multiset grammars:<br />

String grammars In the general noti<strong>on</strong> as defined above, a string grammar<br />

G S is represented as<br />

(<br />

(N ∪ T ) ∗ , T ∗ , w, P, =⇒ GS<br />

)<br />

101

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

Saved successfully!

Ooh no, something went wrong!