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.

A new approach for solving SAT by P systems with active membranes<br />

system creates xȳ and ¯xȳ from ȳ, and x¯z and ¯x¯z from ¯z. Moreover, two new<br />

membranes with label 4 are created and the system puts xyz, xȳ and x¯z into the<br />

first new membrane and ¯x, ¯xȳ and ¯x¯z into the sec<strong>on</strong>d <strong>on</strong>e. Thus, after the first<br />

step the membrane with label 3 looks as follows: [[xyz, xȳ, x¯z] 4 , [¯x, ¯xȳ, ¯x¯z] 4 ] 3 .<br />

Then, in the next step, the system creates the clauses xy¯z, xȳ¯z from x¯z, ¯xy,<br />

¯xȳ from ¯x, and ¯xy¯z, ¯xȳ¯z from ¯x¯z. Moreover, two new membranes with label 5<br />

are created in each membranes with label 4, and the symbols are separated into<br />

these new membranes as follows:<br />

[[[xyz, xy¯z] 5 , [xȳ, xȳ¯z] 5 ] 4 , [[¯xy, ¯xy¯z] 5 , [¯xȳ, ¯xȳ, ¯xȳ¯z] 5 ] 4 ] 3 .<br />

Finally, after the next step, the membrane with label 3 looks as follows:<br />

[[[[xyz] 6 , [xy¯z] 6 ] 5 , [[xȳz] 6 , [xȳ¯z, xȳ¯z] 6 ] 5 ] 4 ,<br />

[[[¯xyz] 6 , [¯xy¯z, ¯xy¯z] 6 ] 5 , [[¯xȳz, ¯xȳz] 6 , [¯xȳ¯z, ¯xȳ¯z, ¯xȳ¯z] 6 ] 5 ] 4 ] 3 .<br />

In general, the computati<strong>on</strong> of Π(n) for some n ∈ N, when membrane with<br />

label 3 c<strong>on</strong>tains the string c 1 . . . c m that encodes the formula ϕ = {ĉ 1 , . . . , ĉ m }<br />

(m ∈ N) over X n can be described as follows:<br />

– At the first step, rules in (a) replace in membrane with label 3 every object c<br />

with the property that ĉ do not c<strong>on</strong>tain x 1 or ¯x 1 with two objects representing<br />

the clauses ĉ∪{x 1 } and ĉ∪{¯x 1 }. In parallel to this step, a rule in (b) separates<br />

the resulting objects into new membranes with label 4, according to that<br />

whether the clauses represented by the objects c<strong>on</strong>tain x 1 or not. Moreover,<br />

in membrane with label 2, the object d 1 evolves to d 2 by the corresp<strong>on</strong>ding<br />

rule in (c).<br />

– After n steps, the membrane system c<strong>on</strong>tains 2 n membranes with label n+3.<br />

Each such membrane can c<strong>on</strong>tain an object in O n corresp<strong>on</strong>ding to a complete<br />

clause in C n . At this point the computati<strong>on</strong> can c<strong>on</strong>tinue in two different<br />

cases.<br />

Case 1:<br />

• If each of the membranes with label n + 3 c<strong>on</strong>tains at least <strong>on</strong>e object<br />

c ∈ O n such that ĉ is a complete clause, then the system dissolves these<br />

membranes in <strong>on</strong>e step by using the rules in (d). In parallel, d n+1 evolves<br />

to d n+2 .<br />

• In the next step, using the first rule in (f), the system divides the membrane<br />

with label 2, and introduces the symbol no.<br />

• In the last two steps, the symbol no goes out to the envir<strong>on</strong>ment, and<br />

the computati<strong>on</strong> halts.<br />

Case 2:<br />

• If there is at least <strong>on</strong>e membrane with label n + 3 that does not c<strong>on</strong>tain<br />

an object c ∈ O n such that ĉ is a complete clause, then <strong>on</strong>ly the first<br />

rule in (e) can be applied introducing the symbol yes (note that the<br />

divisi<strong>on</strong> rule in (f) cannot be applied as the membrane with label 2 is<br />

not elementary in this case).<br />

217

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

Saved successfully!

Ooh no, something went wrong!