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.

Using a kernel P system to solve the 3-Col problem<br />

R 2,1 and the rewriting and communicati<strong>on</strong> rules by R 2,2 , the regular expressi<strong>on</strong><br />

associated with compartment 2 is R ∗ 2,2R 2,1 .This is possible as l<strong>on</strong>g as the symbols<br />

used in divisi<strong>on</strong> rules are not used by any of the rewriting and communicati<strong>on</strong><br />

rules.<br />

The following table summarizes some comparative data c<strong>on</strong>cerning the specificati<strong>on</strong><br />

of the 3-Col problem with the model from [3] using symport/antiport<br />

rules and the <strong>on</strong>e above. This shows that the number of symbols and rules is<br />

significantly reduced in comparis<strong>on</strong> to the tissue P system model. Naturally, to<br />

some extent, the reducti<strong>on</strong> in the number of rules is achieved at the expense<br />

of their complexity: for example, the kP system has <strong>on</strong>e rule with a c<strong>on</strong>diti<strong>on</strong><br />

c<strong>on</strong>taining 3 ∗ n ∗ (n − 1)/2 terms, also the cell divisi<strong>on</strong> rules c<strong>on</strong>tain 7 symbols<br />

plus <strong>on</strong>e used by their guard. The actual number of cells labelled 2 produced by<br />

the kP system may in general be (significantly) less than 3 n since cell divisi<strong>on</strong>s<br />

are <strong>on</strong>ly performed when S is available (i.e. when the cell c<strong>on</strong>tent may lead to<br />

a soluti<strong>on</strong>); otherwise, when S is no l<strong>on</strong>ger available, the cell divisi<strong>on</strong> stops, as<br />

illustrated by the example below. On the other hand, in the case of the tissue P<br />

system, 3 n cells labelled 2 are always produced.<br />

C<strong>on</strong>sider, for example, the following c<strong>on</strong>figurati<strong>on</strong>s for n ≥ 4:<br />

– [aX 1 ] 1 [A 1 Scode(n)] 2 - <strong>on</strong>ly the divisi<strong>on</strong> rule will be applied<br />

– [aX 2 ] 1 [B 1 A 2 Scode(n)] 2 - <strong>on</strong>ly the divisi<strong>on</strong> rule will be applied<br />

– [aX 3 ] 1 [B 1 B 2 A 3 Scode(n)] 2 - suppose that A 1,2 is in code(n); then S will<br />

disappear at this step (the rewriting rule will be applied) after which the<br />

cell will be divided;<br />

– [aX 4 ] 1 [B 1 B 2 B 3 A 4 code(n)] 2 - this will no l<strong>on</strong>ger evolve as S is no l<strong>on</strong>ger<br />

available.<br />

It can be observed that an edge (i, j), 1 ≤ i < j ≤ n, is checked at the<br />

(j + 1)th step. Therefore, at the (j + 1)th, S will disappear from all cells for<br />

which there exists an edge (i, j), 1 ≤ i < j, and i and j a coloured identically;<br />

such cells will no l<strong>on</strong>ger divide. Thus, the maximum possible number of cells<br />

will <strong>on</strong>ly be attained for graphs in which all edges (if any) are of the form (i, n),<br />

i < n.<br />

Type/Specificati<strong>on</strong> Tissue P systems kP systems<br />

Alphabet 6n 2 + 12n + +2m + 2[log m] + 29 n(n + 1)/2 + 5n + 10<br />

Rules 2n & 6n(n + 1)/2 + 8n + 2m + 3[log m] + 25 n & n + 7<br />

Max number of cells 3 n + 1 3 n + 1<br />

Number of steps 2n + m + [log m] + 11 n + 3<br />

The number of steps for the kP system specificati<strong>on</strong> will increase if we c<strong>on</strong>sider<br />

divisi<strong>on</strong> rules with no object rewriting features associated with. Indeed, in<br />

249

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

Saved successfully!

Ooh no, something went wrong!