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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

16. [ 2 fm+1] −<br />

2 → [ 2<br />

] −<br />

2 fm+1.<br />

The rule <strong>of</strong> type 16 sends to the skin membrane the objects fm+1 appearing<br />

in the membranes with label 2.<br />

17. [ 1 fm+1 → fm+2t] 0<br />

1 .<br />

By using the rule <strong>of</strong> type 17 the objects fm+1 in the skin evolve to objects<br />

fm+2t. The objects t in the skin are produced simultaneously with the appearance<br />

<strong>of</strong> the objects d3n+2m+2 in the skin, and they will show that there<br />

exists some subset <strong>of</strong> vertices which is a vertex cover with cardinality k.<br />

18. [ 1t] 0<br />

1 → [ +<br />

1 ] 1 t.<br />

The rule <strong>of</strong> type 18 sends out <strong>of</strong> the system an object t changing the polarization<br />

<strong>of</strong> the skin to positive, then objects t remaining in the skin are<br />

not able to evolve. Hence, an object fm+2 can exit the skin producing an<br />

object yes. This object is then sent out to the environment through the rule<br />

<strong>of</strong> type 19, telling us that there exists a vertex cover with cardinality k, and<br />

the computation halts.<br />

19. [ 1fm+2] +<br />

1 → [ −<br />

1 ] 1 yes.<br />

The applicability <strong>of</strong> the rule <strong>of</strong> type 19 changes the polarization in the skin<br />

membrane to negative in order that the objects fm+2 remaining in it are not<br />

able to continue evolving.<br />

20. [ 1d3n+2m+3] 0<br />

1 → [ +<br />

1 ] 1 no.<br />

Bytherule<strong>of</strong>type20theobjectd3n+2m+3 only evolves when the skin has<br />

neutral charge (this is the case when there does not exist any vertex cover<br />

with cardinality k). Then the system will evolve sending out to the environment<br />

an object no and changing the polarization <strong>of</strong> the skin to positive, in<br />

order that objects d3n+2m+3 remaining in the skin do not evolve.<br />

From the previous explanation <strong>of</strong> the use <strong>of</strong> rules, one can easily see how these<br />

P systems work. It is easy to prove that the designed P systems are deterministic.<br />

Now, we prove that the family Π =(Π(t))t∈N solves the vertex cover problem<br />

in linear time.<br />

The above description <strong>of</strong> the evolution rules is computable in an uniform<br />

way. So, the family Π =(Π(t))t∈N is polynomially uniform because:<br />

– The total number <strong>of</strong> objects is 2nm +4nk +9n +4m − k +8∈ O(n 3 ).<br />

– The number <strong>of</strong> membranes is 2.<br />

– The cardinality <strong>of</strong> the initial multisets is 2.<br />

– The total number <strong>of</strong> evolution rules is O(n 3 ).<br />

– The maximal length <strong>of</strong> a rule (the number <strong>of</strong> symbols necessary to write a<br />

rule, both its left and right sides, the membranes, and the polarizations <strong>of</strong><br />

membranes involved in the rule) is 13.<br />

We consider the (input) function g : IV CP →∪t∈NI Π(t), defined as follows:<br />

g(G) ={ex,(i,j)|1 ≤ x ≤ m, 1 ≤ i, j ≤ n,<br />

the two vertices <strong>of</strong> edge ex are vi and vj}.

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

Saved successfully!

Ooh no, something went wrong!