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.

Time-varying sequential P systems<br />

symbol is introduced the computati<strong>on</strong> can never stop, as at least in every third<br />

step this rule is applicable, because due to the halting c<strong>on</strong>diti<strong>on</strong> with delay 2<br />

the system enters an infinite loop and never halts.<br />

Simulati<strong>on</strong> of SUB-instructi<strong>on</strong> j : (SUB (a) , k, l) in case the c<strong>on</strong>tents of<br />

register a is n<strong>on</strong>-empty<br />

register a is empty<br />

P a : p j → ˆp j ˆp ′ j p j → ¯p j ¯p ′ j ¯p′′ j<br />

P 3−a : ˜p j → λ ˜p j → λ<br />

P 3 : p j → #, ˜p j → # p j → #, ˜p j → #<br />

P 3+a : o a → o ′ a, ˆp ′ j → # ¯p j → λ<br />

P 6−a : ˆp j → λ ¯p ′′<br />

j → p′′ j<br />

P 6 : ˆp j → # ¯p j → #, ¯p ′′<br />

j → #<br />

P 6+a : o ′ a → o ′′<br />

a<br />

o a → o ′ a<br />

P 9−a : ˆp ′ j → ˆp′′ j p ′′<br />

j → p′ j<br />

P 9 : ˆp ′ j → #, o′ a → # p ′′<br />

j → #, o′ a → #<br />

P 9+a : ˆp ′′<br />

j → p k ˜p k<br />

p ′ j → p l ˜p l<br />

P 12−a : o ′′<br />

a → λ<br />

P 12 : o ′′<br />

a → #, ˆp ′′<br />

j → # ¯p ′ j → λ<br />

j → #, ¯p′ j → #<br />

In case register a is assumed to be n<strong>on</strong>-empty and the guess was wr<strong>on</strong>g,<br />

ˆp ′ j → # has to be applied instead of o a → o ′ a from P 3+a , hence, the symbol<br />

ˆp ′ j cannot wait to be applied with the rule ˆp′ j → ˆp′′ j in P 9−a. In the other case,<br />

when assuming register a to be empty, the rule o a → o ′ a should not be applicable<br />

from rule set P 6+a , as then o ′ a → # would become applicable from rule set P 9 .<br />

Observe that these arguments <strong>on</strong>ly work because we interchange the rule sets<br />

for a = 1 and a = 2, e.g., o 1 → o ′ 1 is in P 4 and o 2 → o ′ 2 is in P 5 .<br />

For an ADD-instructi<strong>on</strong> j : (ADD (a) , k, l), with j, k, l ∈ B\{l h }, 1 ≤ a ≤ m,<br />

it would be sufficient to just use the rules ˜p j → λ and p j → p k ˜p k or p j → p l ˜p l<br />

in a sequence of two steps, but we have to extend this to a sequence of total<br />

length 12 in order to have the same period as in the case of the simulati<strong>on</strong> of a<br />

SUB-instructi<strong>on</strong>. Hence, for each ADD-instructi<strong>on</strong> j : (ADD (a) , k, l), we take<br />

the following rules into the rule sets P i , 1 ≤ i ≤ 12; in this case, we need not<br />

interchange the rule sets for different registers a, a ∈ {1, 2}:<br />

111

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

Saved successfully!

Ooh no, something went wrong!