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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Asynchr<strong>on</strong>uous and maximally parallel deterministic c<strong>on</strong>trolled<br />

n<strong>on</strong>-cooperative P systems characterize NFIN and coNFIN<br />

not start an infinite loop with using f i → f i | si,¬ai+1. If the input has c<strong>on</strong>tained<br />

more than max (H) copies of a, then the system arrives in the state s k and will<br />

loop forever with f k → f k | sk . Therefore, exactly H is accepted. To accept the<br />

complement of H instead, we simply change i /∈ H to i ∈ H and as well omit the<br />

rule f k → f k | sk . It is easy to see that for the maximally parallel mode, we can<br />

replace each rule f i → f i | si,¬a i+1 by the corresp<strong>on</strong>ding rule f i → f i | si ; in this<br />

case, this rule may be applied with still some a being present while the system<br />

passes through the state s i , but it will not get into an infinite loop in that case.<br />

In sum, we have shown that<br />

N deta OP asyn ( )<br />

1 ncoo, (pro1,∗ , inh 1,∗ ) 1 ⊇ F IN ∪ coNF IN and<br />

N deta OP maxpar<br />

1 (ncoo, pro 1,∗ ) ⊇ F IN ∪ coNF IN.<br />

Example 2. For P systems working in the maximally parallel way we can even<br />

c<strong>on</strong>struct a system with inhibitors <strong>on</strong>ly:<br />

Π = (O, {a} , ts k , R ′ , R) ,<br />

O = {a, t} ∪ {s i | 0 ≤ i ≤ K} ,<br />

R ′ = {s i → ts i−1 , s i → s i | 1 ≤ i ≤ K} ∪ {t → λ, s 0 → s 0 } ,<br />

R = {s i → ts i−1 | ¬a i | 1 ≤ i ≤ K}<br />

∪ {t → λ} ∪ {s i → s i | ¬t | 0 ≤ i ≤ K, i /∈ H} .<br />

This c<strong>on</strong>structi<strong>on</strong> does not carry over to the case of the asynchr<strong>on</strong>uous mode, as<br />

the rule t → λ is applied in parallel to the rules s i → ts i−1 | ¬a i until the input a i<br />

is reached. In this case, the system cannot change the state s i anymore, and then<br />

it starts to loop if and <strong>on</strong>ly if i /∈ H. To accept the complement of H instead,<br />

change i ∈ H to i /∈ H, i.e., in sum, we have proved that<br />

N deta OP maxpar<br />

1 (ncoo, inh 1,∗ ) ⊇ F IN ∪ coNF IN.<br />

As we shall show later, all the inclusi<strong>on</strong>s stated in Example 1 and Example 2<br />

are equalities.<br />

2.1 Register Machines<br />

In what follows we will need to simulate register machines; here we briefly recall<br />

their definiti<strong>on</strong> and some of their computati<strong>on</strong>al properties. A register machine<br />

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

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

and 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 />

91

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

Saved successfully!

Ooh no, something went wrong!