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

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

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

A formal framework for P systems with dynamic structure<br />

2.1 Graph Transformati<strong>on</strong>s<br />

There exist several ways to define a graph transformati<strong>on</strong>. We will define a<br />

graph transducer using the formalism from [2]. This formalism defines the graph<br />

transformati<strong>on</strong> as a graph-c<strong>on</strong>trolled graph rewriting grammar with appearance<br />

checking using the following operati<strong>on</strong>s:<br />

– I(X): creati<strong>on</strong> of a new node labeled by X;<br />

– D(X): deleti<strong>on</strong> of a node labeled by X;<br />

– C(X, Y ): change the label of the node labeled by X to Y;<br />

– I(l 1 , λ, l 2 ; l ′ 1, a, l ′ 2): insert an edge labeled by a between two nodes labeled by<br />

l 1 and l 2 ; after the inserti<strong>on</strong> nodes are relabeled to l ′ 1 and l ′ 2 respectively;<br />

– D(l 1 , a, l 2 ; l ′ 1, λ, l ′ 2): delete the edge labeled by a between two nodes labeled<br />

by l 1 and l 2 ; after the deleti<strong>on</strong> nodes are relabeled to l ′ 1 and l ′ 2 respectively;<br />

– C(l 1 , a, l 2 ; l ′ 1, a ′ , l ′ 2): rename to a ′ the label of the edge labeled by a between<br />

two nodes labeled by l 1 and l 2 , After this operati<strong>on</strong> nodes are relabeled to<br />

l ′ 1 and l ′ 2 respectively.<br />

It was proved in [2] that the above formalism is computati<strong>on</strong>ally complete.<br />

In what follows we will use some particular graph transducers whose definiti<strong>on</strong><br />

we give below:<br />

– DELET E(x): C(x, x ′ ), D(x ′ , a, y; x ′ , λ, y) (looping over a and y), D(x ′ )<br />

– INSERT (x): I(x)<br />

– INSERT − EDGE(x, y): I(x, λ, y; x, a, y)<br />

– DELET E − EDGE(x, y): D(x, a, y; x, λ, y)<br />

2.2 Definiti<strong>on</strong> of the Framework<br />

We start by defining a c<strong>on</strong>figurati<strong>on</strong> of a P system. Since we deal with P systems<br />

with dynamic structure, it should be taken into account that the number of cells<br />

(membranes) is not fixed (it is unbounded), and hence a list of variable length<br />

will be used.<br />

Definiti<strong>on</strong> 1 A basic c<strong>on</strong>figurati<strong>on</strong> C (of size n) is a list (i 1 , w 1 ) . . . (i n , w n ),<br />

where each w j is a multiset (over O) and each i j ∈ N, i j ≠ i k , for k ≠ j,<br />

1 ≤ j, k ≤ n.<br />

Each element (i j , w j ), 1 ≤ j ≤ n, of a c<strong>on</strong>figurati<strong>on</strong> C is called a cell.<br />

Remark 1 (Finiteness)<br />

i) The set of all possible basic c<strong>on</strong>figurati<strong>on</strong>s of any size n > 0 is denoted by C.<br />

We remark that we will c<strong>on</strong>sider <strong>on</strong>ly basic c<strong>on</strong>figurati<strong>on</strong>s of finite size and<br />

we denote the size of C by size(C).<br />

ii) If not stated otherwise, we suppose that all multisets of a basic c<strong>on</strong>figurati<strong>on</strong><br />

are finite. If needed, the definiti<strong>on</strong>s that follow can be adapted to infinite<br />

multisets by adding corresp<strong>on</strong>ding c<strong>on</strong>straints to the rule definiti<strong>on</strong>, in a<br />

similar way as it was d<strong>on</strong>e in [3].<br />

201

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

Saved successfully!

Ooh no, something went wrong!