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.

Limits of the power of tissue P systems with cell divisi<strong>on</strong><br />

2. Subsequently compute c<strong>on</strong>tent(i out , 11 . . . 1, n) for n = 0, 1, 2, .... until no<br />

rule is applicable. Note that the output membrane never divides and hence<br />

its index c<strong>on</strong>tains <strong>on</strong>ly 1’s. Record in each step the presence of objects yes<br />

or no.<br />

3. If <strong>on</strong>e of objects yes or no appeared in the output membrane and <strong>on</strong>ly in<br />

the last step, return the result of computati<strong>on</strong>.<br />

Space complexity of the functi<strong>on</strong> c<strong>on</strong>tent(l, index, n) is determined by variables<br />

storing multisets of objects and applicable rules. The first type represents<br />

a multiset of objects c<strong>on</strong>tained in a particular cell. Its cardinality is limited from<br />

above by the total number of objects in the system after n steps. Denote this<br />

number by o n . Therefore,<br />

o 0 =<br />

q∑<br />

card(M i ) + |w|. (1)<br />

i=1<br />

At each step each cell can divide (which does not increase the number of its<br />

objects) or it can introduce new object to the system from the envir<strong>on</strong>ment via<br />

antiport rules. Denote R a the set of antiport rules in R. Hence, we can write<br />

that o n ≤ co n−1 for n ≥ 1 and a c<strong>on</strong>stant c, where<br />

After n step we have<br />

c = max{ max {|u|/|v|}, max {|v|/|u|}}. (2)<br />

(i,u/v,j)∈R a (i,u/v,j)∈R a<br />

which is a value representable by dn bits for a c<strong>on</strong>stant<br />

o n ≤ o 0 c n (3)<br />

d ≤ log o 0 + log c. (4)<br />

Finally, |Γ |dn bits are necessary to describe any multiset with cardinality dn<br />

and with the underlying set Γ. This is also the maximum size of any variable of<br />

this type.<br />

The situati<strong>on</strong> is similar for multisets of applicable rules. The cardinality of<br />

each such multiset at n-th computati<strong>on</strong>al step is limited by the number o n of<br />

objects in the system. Hence the size of each such variable is at most |R|dn.<br />

Finally, let us analyze the space complexity of functi<strong>on</strong> c<strong>on</strong>tent. Functi<strong>on</strong><br />

c<strong>on</strong>tent with parameter n performs recursive calls of itself with parameter n −<br />

1. It uses three variables storing multisets of objects and four variables with<br />

multisets of rules. For its space complexity C(n) we can therefore write:<br />

C(0) = log o 0 (5)<br />

C(n) ≤ C(n − 1) + 3|Γ |dn + 4|R|dn, n ≥ 1. (6)<br />

The soluti<strong>on</strong> to this recurrence is<br />

C(n) = O((|Γ | + |R|)dn 2 + log o 0 ). (7)<br />

429

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

Saved successfully!

Ooh no, something went wrong!