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.

Zs. Gazdag, G. Kol<strong>on</strong>its<br />

formula and the number m of clauses of the formula. The P systems introduced<br />

in the above works can solve SAT efficiently, usually in polynomial time in n+m.<br />

The P systems described in [4] solve SAT in linear time in n, but there divisi<strong>on</strong> of<br />

n<strong>on</strong>elementary membranes is allowed, and the derivati<strong>on</strong> strategy is minimally<br />

parallel instead of the comm<strong>on</strong>ly used maximal parallel <strong>on</strong>e.<br />

In this paper we give a family of P systems that can solve SAT in linear time<br />

in n. Our motivati<strong>on</strong> was to give a soluti<strong>on</strong> where the number of the computati<strong>on</strong><br />

steps does not depend <strong>on</strong> the number of the clauses in the input formula and the<br />

system does not use n<strong>on</strong>-elementary membrane divisi<strong>on</strong>. However, our soluti<strong>on</strong><br />

can not be directly compared to other <strong>on</strong>es in this topic as the c<strong>on</strong>structi<strong>on</strong> of<br />

our family of P systems is not polynomially (semi-)uniform (i.e, our P systems<br />

can not be c<strong>on</strong>structed in polynomial time in n + m).<br />

To see this, we briefly describe the method that we use in our soluti<strong>on</strong>. Let<br />

ϕ be a formula in CNF over n variables. Then there is an equivalent formula<br />

ϕ ′ in CNF such that every clause of ϕ ′ c<strong>on</strong>tains every variable of ϕ negated or<br />

without negati<strong>on</strong>. Such clauses are called complete clauses. It can be seen that ϕ ′<br />

is satisfiable if and <strong>on</strong>ly if it does not c<strong>on</strong>tain every possible complete clause over<br />

n variables. We will show that our membrane systems can create ϕ ′ from ϕ and<br />

decide if ϕ ′ c<strong>on</strong>tains every complete clauses over n variables in linear number of<br />

steps. Clearly, the cardinality of the set of all complete clauses over n variables is<br />

exp<strong>on</strong>ential in n. This implies that the cardinality of the object alphabet of our<br />

P systems is also exp<strong>on</strong>ential in n. Thus our P systems can not be c<strong>on</strong>structed in<br />

polynomial time in n, even if the number m of the clauses in the input formula<br />

is polynomial in n. (Note that, in general, m can be exp<strong>on</strong>ential in n as well.)<br />

On the other hand, our P systems can be c<strong>on</strong>structed in a uniform way, i.e.,<br />

<strong>on</strong>ce we have c<strong>on</strong>structed a P system Π(n), for a given number n, then we can<br />

use Π(n) for every formula ϕ over n variables to decide the satisfiability of ϕ.<br />

Moreover, the decisi<strong>on</strong> is d<strong>on</strong>e in linear number of steps in n and to achieve<br />

this efficiency we do not have to use n<strong>on</strong>elementary membrane divisi<strong>on</strong> or even<br />

polarizati<strong>on</strong>s. Rather, we use separati<strong>on</strong> rules that can change the labels of the<br />

membranes involved.<br />

We will discuss in Secti<strong>on</strong> 4 the possibility of solving SAT in linear time in<br />

the number of the variables by a polynomially semi-uniform family of P systems<br />

based <strong>on</strong> our P systems presented in this paper.<br />

The paper is organised as follows. In Secti<strong>on</strong> 2 we give the necessary definiti<strong>on</strong>s<br />

and preliminary results. Secti<strong>on</strong>s 3 c<strong>on</strong>tains our family of P systems<br />

described above and Secti<strong>on</strong> 4 presents some c<strong>on</strong>clusi<strong>on</strong>s and remarks.<br />

2 Definiti<strong>on</strong>s<br />

Alphabets, words, multisets. An alphabet Σ is a n<strong>on</strong>empty and finite set of<br />

symbols. The elements of Σ are called letters. Σ ∗ denotes the set of all finite<br />

words (or strings) over Σ, including the empty word ε. We will use multisets<br />

of objects in the membranes of a P system. As usual, these multisets will be<br />

represented by strings over the object alphabet of the P system.<br />

212

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

Saved successfully!

Ooh no, something went wrong!