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.

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

(Calculate the c<strong>on</strong>tent of cell j with index j 1 j 2 . . . j n−1 in previous step)<br />

if (c<strong>on</strong>tentCell1 = null) or (cell can apply a divisi<strong>on</strong> rule)<br />

then skip the rest of the cycle;<br />

calculate the maximal multiset of rules in rulesForCell1<br />

applicable to cell j with objects c<strong>on</strong>tentCell1;<br />

remove these rules from multiset rulesForCell1;<br />

remove the corresp<strong>on</strong>ding objects from c<strong>on</strong>tentCell1;<br />

rulesForCell2 := rulesAppliedTotal;<br />

for each possible compound index k 1 k 2 . . . k n−1 do begin<br />

c<strong>on</strong>tentCell2 = c<strong>on</strong>tent(k, k 1 k 2 . . . k n−1 , n − 1);<br />

(Calculate the c<strong>on</strong>tent of cell k with index k 1 k 2 . . . k n−1 in previous step)<br />

if c<strong>on</strong>tentCell2 = null or cell can apply a divisi<strong>on</strong> rule<br />

then skip the rest of the cycle;<br />

calculate the maximal multiset of rules in rulesForCell2<br />

applicable to cell k with c<strong>on</strong>tentCell2;<br />

remove these rules from multiset rulesForCell2;<br />

remove the corresp<strong>on</strong>ding objects from c<strong>on</strong>tentCell2;<br />

(Now c<strong>on</strong>tentCell1 and C<strong>on</strong>tentCell2 c<strong>on</strong>tain objects remaining in cell j<br />

with index j 1 j 2 . . . j n−1 and in cell k with index k 1 k 2 . . . k n−1 ,<br />

respectively, after applicati<strong>on</strong> of previously scanned rules in step n.)<br />

let x = maximum copies of rule (j, u/v, k) applicable to cells<br />

j, k with c<strong>on</strong>tentCell1 and c<strong>on</strong>tentCell2, respectively;<br />

remove x copies of u from c<strong>on</strong>tentCell1;<br />

add x copies of rule (j, u/v, k) to rulesAppliedTotal;<br />

if <strong>on</strong>e of the cells j or k is identical with cell l<br />

with index i 1 i 2 . . . i n−1 then<br />

add x occurrences of rule (j, u/v, k) to rulesAppliedTol;<br />

end cycle; (cell k with index k 1 k 2 . . . k n−1 )<br />

end cycle; (cell j with index j 1 j 2 . . . j n−1 )<br />

end cycle; (rule (j, u/v, k))<br />

(At this moment, variable rulesAppliedTolc<strong>on</strong>tains the complete multiset<br />

of rules applied in step n to cell l with indices i 1 i 2 . . . i n−1 . )<br />

427

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

Saved successfully!

Ooh no, something went wrong!