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 />

Simple creati<strong>on</strong> rule with label rename (CL-rule)<br />

A CL-rule is defined by the following comp<strong>on</strong>ents:<br />

r = (Labels(r), ρ(r), Label–Rename(r), Generate(r),<br />

Generate–and–Copy(r), Change–Relati<strong>on</strong>(r))<br />

Simple dissoluti<strong>on</strong> rule (D-rule)<br />

A D-rule is defined by the following comp<strong>on</strong>ents:<br />

r = (Labels(r), ρ(r), Delete(r), Delete–and–Move(r),<br />

Change–Relati<strong>on</strong>(r))<br />

In the case of the parent relati<strong>on</strong> (tree case), we can simplify the rules and<br />

omit ρ(r) by supposing that Labels(r) is of size 2. In this case we implicitly<br />

assume that (1, 2) ∈ ρ(r). The type of corresp<strong>on</strong>ding rules with parent relati<strong>on</strong><br />

will additi<strong>on</strong>ally c<strong>on</strong>tain the letter P (e.g., P C-rule).<br />

In a more general way, we can also c<strong>on</strong>sider combined types of rules, merging<br />

the corresp<strong>on</strong>ding comp<strong>on</strong>ents: L – label rename, R – rewriting, C – membrane<br />

creati<strong>on</strong>, D – membrane deleti<strong>on</strong> (and get RD rules for example).<br />

Rules r having a n<strong>on</strong>-empty Delete–and–Move(r) comp<strong>on</strong>ent can be simplified<br />

by reducing their Change–Relati<strong>on</strong>(r) comp<strong>on</strong>ent in the case of the parent<br />

relati<strong>on</strong>.<br />

In the above case we will assume that Change–Relati<strong>on</strong>(r) c<strong>on</strong>tains the<br />

transducer MOV E −CONNECT IONS described below. This transducer adds<br />

the following edges to ρ: {(a x , b y ) | (x, y) ∈ C ρ and a x , b y ≠ ∗}, where (a x , b y ) is<br />

defined as follows (i m is the id of membrane m):<br />

{ (last(x), y), (x, y) ∈ ρ and px ≠ i<br />

(a x , b y ) =<br />

x ,<br />

(y, last(x)), (y, x) ∈ ρ and p x ≠ i x .<br />

The above transformati<strong>on</strong>s corresp<strong>on</strong>d to the deleti<strong>on</strong> of cells and to the<br />

movement of their c<strong>on</strong>tents according to Delete–and–Move relati<strong>on</strong>.<br />

4 Some Examples<br />

4.1 Active <strong>Membrane</strong>s<br />

Let us start with the example of traditi<strong>on</strong>al active membrane rules (e.g., see<br />

Secti<strong>on</strong> 11.2 from handbook [6]).<br />

Polarizati<strong>on</strong> can be treated in two ways – as a special object inside a membrane<br />

or like a special label; we here c<strong>on</strong>sider the latter case, i.e., the couple<br />

(label,polarizati<strong>on</strong>) will be a new type of label.<br />

Thus, a rule r : [a → v] e h will be treated as r : [a → v] 〈e,h〉 and it can be<br />

translated as the following P R-rule:<br />

r :<br />

Labels(r) = (〈e, h〉),<br />

Rewrite(r) = {(1, a → v)}.<br />

In the future we indicate e instead of 〈e, h〉.<br />

207

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

Saved successfully!

Ooh no, something went wrong!