08.01.2013 Views

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

12 Artiom Alhazov, Carlos Martín-Vide, and Linqiang Pan<br />

– From every fi (with 1 ≤ i ≤ m) the object fi+1 is obtained in some membranes<br />

after the execution <strong>of</strong> 2 steps.<br />

– The checking stage ends as soon as the object d3n+2m appears in the skin.<br />

Therefore, the total number <strong>of</strong> steps <strong>of</strong> this stage is 2m.<br />

The output stage starts immediately after the appearance <strong>of</strong> the object<br />

d3n+2m in the skin and it is controlled by the objects fm+1 and fm+2.<br />

– To produce the output yes the object fm+1 must have been produced in<br />

some membrane with label 2 <strong>of</strong> the configuration C 5n+2m−1 . Then, after 4<br />

steps the system returns yes to the environment, through the evolution <strong>of</strong><br />

objects fm+2 present in the skin, and when it has positive charge.<br />

– To produce the output no, no object fm+1 appears in any membrane with<br />

label 2 <strong>of</strong> the configuration C 5n+2m−1 . Then after 4 steps the system returns<br />

no to the environment, through the evolution <strong>of</strong> objects d3n+2m+3 present<br />

in the skin, and when it has neutral charge.<br />

Therefore, the total number <strong>of</strong> steps in the output stage is 4.<br />

Let us see that the family Π is linearly bounded, with regard to (g, h). For<br />

that, it is enough to note that the time <strong>of</strong> the stages <strong>of</strong> the execution <strong>of</strong> Π(h(G))<br />

with input g(G) is: (a) generation stage, 3n − 1 steps; (b) synchronization stage,<br />

2n steps; (c) checking stage, 2m steps; and (d) output stage, 4 steps. Hence, the<br />

total execution time <strong>of</strong> Π(h(G)) with input g(G) is5n +2m +3∈ O(n + m).<br />

Now, let us see that the family Π is VCP-sound and VCP-complete, with<br />

respect to the polynomial encoding (g, h). For that it is sufficient to verify that<br />

the following results are true:<br />

1. If s is a subset with cardinality k covering all edges, then at the end <strong>of</strong><br />

the checking stage (that is, in the configuration C5n+2m−1 ), the object fm+1<br />

appears in the membrane associated with s.<br />

2. If s is not a subset with cardinality k covering all edges, then at the end <strong>of</strong><br />

the checking stage (that is, in the configuration C5n+2m−1 ), the object fm+1<br />

does not appear in the membrane associated with s.<br />

Next we justify that the designed P systems Π(t), with t ∈ N, are recognizing<br />

devices.<br />

By inductive processes it can be proved that the configuration C5n+2m−1 verifies the following properties:<br />

(a) It has 2n membranes with label 2. The membranes with label 2 encoding<br />

subsets <strong>of</strong> vertices with cardinality exactly k have negative charge. The other<br />

membranes with label 2 have neutral charge.<br />

(b) The skin has neutral charge and its content is d 2n<br />

3n+2m .<br />

(c) If the object fm+1 is present in a membrane with label 2, then the subset <strong>of</strong><br />

vertices encoded by it is a vertex cover.<br />

Proposition 51 Suppose that there exist exactly q membranes with label 2 (with<br />

1 ≤ q ≤ � � n 5n+2m−1<br />

k )<strong>of</strong>C containing some object fm+1. Then, in the last step<br />

<strong>of</strong> the computation, the P system sends out the object yes to environment.

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

Saved successfully!

Ooh no, something went wrong!