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.

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

1. [ 2di] 0<br />

2 → [ +<br />

2di] 2 [ −<br />

2di] 2 , 1 ≤ i ≤ n.<br />

By using a rule <strong>of</strong> type 1, a membrane with label 2 is divided into two<br />

membranes with the same label, but with different polarizations. These rules<br />

allow us to duplicate, in one step, the total number <strong>of</strong> membranes with<br />

label 2.<br />

2. [ 2ex,(1,j) → rx,1] +<br />

2 ,1≤ x ≤ m, 2≤ j ≤ n.<br />

[ e 2 x,(1,j) → λ] −<br />

,1≤ x ≤ m, 2≤ j ≤ n.<br />

2<br />

The rules <strong>of</strong> type 2 try to implement a process allowing membranes with<br />

label 2 to encode whether vertex v1 appears in a subset <strong>of</strong> vertices, in such a<br />

way that if vertex v1 appears in a subset <strong>of</strong> vertices, then the objects ex,(1,j) encoding edges ex which are adjacent to vertex v1 will evolve to objects rx,1<br />

in the corresponding membranes with label 2; otherwise, the objects ex,(1,j) will disappear.<br />

3. [ 2ex,(i,j) → ex,(i−1,j)] +<br />

2 ,1≤ x ≤ m, 2≤ i ≤ n, i ≤ j ≤ n.<br />

[ 2ex,(i,j) → ex,(i−1,j)] −<br />

2 ,1≤ x ≤ m, 2≤ i ≤ n, i ≤ j ≤ n.<br />

The evolving process described previously is always made with respect to<br />

the vertex v1. Hence, the rules <strong>of</strong> type 3 take charge <strong>of</strong> making a cyclic path<br />

through all the vertices to get that, initially, the first vertex is v1, thenv2,<br />

and so on.<br />

4. [ 2ci,j → ci+1,j] +<br />

2 ,0≤ i ≤ k − 1, 1 ≤ j ≤ 2n − 1.<br />

[ 2ck,j → λ] +<br />

2 ,1≤ j ≤ 2n − 1.<br />

The rules <strong>of</strong> type 4 supply counters in the membranes with label 2, in such a<br />

way that we increase the first subscript <strong>of</strong> ci,j, when the membrane has not<br />

more than k vertices; when the membrane has more than k vertices, then<br />

the counter-object ck,j will disappear. So when the process <strong>of</strong> generating<br />

all subsets <strong>of</strong> vertices is finished, the object ck,j (note the first subscript is<br />

k) will appear only in the membrane with label 2 encoding a subset with<br />

cardinality exactly k.<br />

5. [ 2di] +<br />

2 → [ 0<br />

2 ] 2di, 1≤ i ≤ n.<br />

[ 2di] −<br />

2 → [ 0<br />

2 ] 2di, 1≤ i ≤ n.<br />

di[ 2 ] 0<br />

2 → [ 0<br />

2di+1] 2 ,1≤ i ≤ n − 1.<br />

The rules <strong>of</strong> type 5 are used as controllers <strong>of</strong> the generating process <strong>of</strong> all<br />

subsets <strong>of</strong> vertices and the listing <strong>of</strong> adjacent edges: the objects d are sent to<br />

the membrane with label 1 at the same time the listing <strong>of</strong> adjacent edges and<br />

the counting <strong>of</strong> vertices are made, and they come back to the membranes<br />

with label 2 to start the division <strong>of</strong> these membranes.<br />

6. [ ri,j → ri,j+1]<br />

2 0<br />

,1≤ i ≤ m, 1≤ j ≤ 2n − 1.<br />

2<br />

The use <strong>of</strong> objects r in the rules <strong>of</strong> types 12, 13, and 14 makes necessary to<br />

perform a “rotation” <strong>of</strong> these objects. This is the mission <strong>of</strong> the rules <strong>of</strong> type<br />

6.<br />

7. [ ci,j → ci,j+1]<br />

2 0<br />

,0≤ i ≤ k, 1≤ j ≤ 2n − 1.<br />

2<br />

The second subscript <strong>of</strong> ci,j (also in the rule <strong>of</strong> type 9) is used to control<br />

when the process <strong>of</strong> checking whether a subset <strong>of</strong> vertices with cardinality k<br />

is a vertex cover will start.

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

Saved successfully!

Ooh no, something went wrong!