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. Ţurcanu, F. Ipate<br />

act1 : cell : |((∀s, j.s ∈ SY MBOLS&j ∈ 1 ...n&j ≠ i ⇒<br />

cell ′ (y)(s)(j) =cell(x)(s)(j))&(cell ′ (y)(a)(i) =cell(x)(a)(i) − 1)<br />

&(cell ′ (y)(r)(i) =cell(x)(r)(i)+1)&(∀s.s ∈ SY MBOLS \{a, r}<br />

&cell ′ (y)(s)(i) =cell(x)(s)(i))&(∀s, j.s ∈ SY MBOLS&j ∈ 1 ...n<br />

&i ≠ j ⇒ cell ′ (z)(s)(j) =cell(x)(s)(j))&<br />

(cell ′ (z)(a)(i) =cell(x)(a)(i) − 1)&(cell ′ (z)(t)(i) =cell(x)(t)(i)+1)<br />

&(∀s.s ∈ SY MBOLS \{a, t}&cell ′ (z)(s)(i) =cell(x)(s)(i))&<br />

(∀w, s, j.w ∈ dom(cell)&w ≠ x&s ∈ SY MBOLS&j ∈ 1 ...n<br />

⇒ cell ′ (w)(s)(j) =cell(w)(s)(j)))<br />

act2 : mark := ({x} ✁−mark) ∪{y ↦→ 1,z ↦→ 1}<br />

Therefore, the rule is applied in some random cell x, for some random value<br />

of the index i and it modifies accordingly the values of the functi<strong>on</strong> cell. Two<br />

new cells, y and z, are replacing x in the membrane structure of the system as<br />

a result of the divisi<strong>on</strong>. Any other cell w is not affected by the rule.<br />

In [3] we verified some properties of Π(n) with the model checker ProB using<br />

this general model, instantiated for particular values of n.<br />

Using similar ideas and possibly renaming objects and using indices, we can<br />

build Event-B models of various P systems with active membranes.<br />

4 C<strong>on</strong>clusi<strong>on</strong>s and Future Work<br />

Based <strong>on</strong> rigorous mathematical foundati<strong>on</strong> and allowing high-level modelling,<br />

Event-B and Rodin offer a simpler and more c<strong>on</strong>venient way of modelling P<br />

systems by using quantifiers, n<strong>on</strong>-deterministic assignments and functi<strong>on</strong>s. In<br />

this paper we have presented some general ideas about this way of modelling.<br />

Our future work will c<strong>on</strong>centrate <strong>on</strong> generalising and automating this method<br />

of modelling in Event-B for different types of P systems.<br />

References<br />

[1] Abrial, J.R., Modeling in Event-B. System and software engineering, Cambridge<br />

University Press, (2010)<br />

[2] Díaz-Pernil, D., Gutiérrez-Naranjo, M.A., Pérez-Jiménez, M.J., Riscos-<br />

Núñez, A.: A linear-time tissue P system based soluti<strong>on</strong> for the 3-coloring<br />

problem. Electr. Notes Theor. Comput. Sci. 171(2), 81-93 (2007)<br />

[3] Lefticaru, R., Ipate, F., Cabrera, L. V., Ţurcanu, A., Tudose, C., Gheorghe,<br />

M. Pérez-Jiménez, M., Niculescu, I. M., Dragomir, C.: Towards an integrated<br />

approach for model simulati<strong>on</strong>, property extracti<strong>on</strong> and verificati<strong>on</strong><br />

of P systems. In: Proceedings of 10th BWMC, pp. 291–318 (2012)<br />

[4] Păun, G.: <strong>Computing</strong> with membranes. Journal of Computer and System<br />

Sciences 61(1), 108–143 (2000)<br />

[5] Ţurcanu, A., Ipate, F.: Modelling, testing and verificati<strong>on</strong> of P systems<br />

with active membranes using Rodin and ProB modelling. In: Proceedings<br />

of the 12th <str<strong>on</strong>g>Internati<strong>on</strong>al</str<strong>on</strong>g> <str<strong>on</strong>g>C<strong>on</strong>ference</str<strong>on</strong>g> <strong>on</strong> <strong>Membrane</strong> <strong>Computing</strong>. pp. 459-<br />

468. Paris-Est University Press (2011)<br />

458

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

Saved successfully!

Ooh no, something went wrong!