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.

Mobile membranes with objects <strong>on</strong> surface as colored Petri nets<br />

The evoluti<strong>on</strong> of the LDL degradati<strong>on</strong> could be represented graphically as<br />

in Figure 2. By M 1 , . . . , M 24 are denoted the possible c<strong>on</strong>figurati<strong>on</strong>s of the system,<br />

and <strong>on</strong> each arrow from a M i to a M j is placed the number of the rule<br />

which is applied in order to evolve from M i to M j . To denote that an object<br />

recep changes its positi<strong>on</strong> and interacts with different objects, we use different<br />

notati<strong>on</strong>s (namely, recep, recep 1 , . . . , recep 5 ) in the evoluti<strong>on</strong> of the system.<br />

Remark 1. The number of the applied rules to reach the c<strong>on</strong>figurati<strong>on</strong> M 24 starting<br />

from the c<strong>on</strong>figurati<strong>on</strong> M 1 is always 13.<br />

4 Colored Petri Nets<br />

Colored Petri nets (CPN) represent a graphical language used to describe systems<br />

in which communicati<strong>on</strong>, synchr<strong>on</strong>izati<strong>on</strong> and resource sharing play an<br />

important role [9]. The CPN model c<strong>on</strong>tains places (drawn as ellipses or circles),<br />

transiti<strong>on</strong>s (drawn as rectangular boxes), a number of directed arcs c<strong>on</strong>necting<br />

places and transiti<strong>on</strong>s, and finally some textual inscripti<strong>on</strong>s located near the<br />

places, transiti<strong>on</strong>s and arcs.<br />

The places are used to represent the state of the modeled system, and this<br />

state is given by the number of tokens of all the places. Such a state is called<br />

a marking of the CPN model. By c<strong>on</strong>venti<strong>on</strong>, we write the names of the places<br />

inside the ellipses. The names have no formal meaning, but they have a practical<br />

importance for the readability of a CPN model, just like the use of mnem<strong>on</strong>ic<br />

names in traditi<strong>on</strong>al programming.<br />

The arc expressi<strong>on</strong>s <strong>on</strong> the input arcs of a transiti<strong>on</strong> determine when the<br />

transiti<strong>on</strong> is enabled, i.e., to be activated by a certain marking. A transiti<strong>on</strong> is<br />

enabled whenever it is possible to find a binding of the variables that appear in<br />

the surrounding arc expressi<strong>on</strong>s of the transiti<strong>on</strong> such that the arc expressi<strong>on</strong><br />

of each input arc evaluates to a multiset of tokens that is present in the corresp<strong>on</strong>ding<br />

input place. When a transiti<strong>on</strong> occurs with a given binding, it removes<br />

from each input place the multiset of tokens to which the corresp<strong>on</strong>ding input<br />

arc expressi<strong>on</strong> evaluates. Analogously, it adds to each output place the multiset<br />

of tokens to which the corresp<strong>on</strong>ding output arc expressi<strong>on</strong> evaluates.<br />

The colored Petri nets have also a mathematical representati<strong>on</strong> with a well<br />

defined syntax and semantics. This formal representati<strong>on</strong> is the framework for<br />

the study of different behavioral properties. We denote by EXP R the set of<br />

expressi<strong>on</strong>s provided by the inscripti<strong>on</strong> language (which is ML in the case of<br />

CPN Tools), and by T ype[e] we denote the type of an expressi<strong>on</strong> e ∈ EXP R,<br />

i.e., the type of the values obtained when evaluating e. The set of free variables<br />

in an expressi<strong>on</strong> e is denoted V ar[e], and the type of a variable x is denoted<br />

T ype[x]. We denote the set of variables by X; the set of expressi<strong>on</strong>s e ∈ EXP R<br />

for which V ar[e] ⊆ X is denoted by EXP R X . The set of all multisets over S is<br />

denoted by S MS .<br />

The following definiti<strong>on</strong> differs from that presented in [9] just because simultaneous<br />

parallel arcs from the same place to the same transiti<strong>on</strong> are not allowed<br />

(i.e., it is enough to have <strong>on</strong>ly <strong>on</strong>e arc).<br />

131

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

Saved successfully!

Ooh no, something went wrong!