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.

On structures and behaviors of spiking neural P systems and Petri nets<br />

reach the end goal, corresp<strong>on</strong>ding to (iv) or a proper terminati<strong>on</strong> of a workflow<br />

process.<br />

Fig. 1. Routing types: (a) sequential, (b) c<strong>on</strong>diti<strong>on</strong>al, (c) parallel, (d) iterati<strong>on</strong>.<br />

As menti<strong>on</strong>ed earlier, the routing of tokens are fundamental to WF-nets, and<br />

[21] identifies four types: sequential, parallel, c<strong>on</strong>diti<strong>on</strong>al, and iterati<strong>on</strong> (See Fig.<br />

1). In order to perform these routing types, building blocks in Petri net semantics<br />

are used. These building blocks are (again referring to Fig. 1): AND-split is the<br />

sending of a token by transiti<strong>on</strong> D (from p5) to two or more output places of t<br />

in parallel, in this case p6 and p7. An AND-join is the removal, in parallel, of a<br />

token from every input place of E (in this case p6 and p7) in order to fire E. An<br />

OR-split is a n<strong>on</strong>deterministic routing of a token in p3 to <strong>on</strong>ly <strong>on</strong>e am<strong>on</strong>g many<br />

output transiti<strong>on</strong>s of p3 (in this case firing either B or C). An OR-join is the<br />

sending of a token from B (or C) to p4, am<strong>on</strong>g several input transiti<strong>on</strong>s of p4.<br />

From [19] we have the following: For Petri net N, a path H from node x 0<br />

to node x k is a sequence 〈x 0 , x 1 , . . . , x k−1 , x k 〉 where (x i , x i+1 ) ∈ A, for 1 ≤<br />

i ≤ k − 1. The alphabet of H denoted as alph(H) = {x 0 , x 1 , ..., x k−1 , x k }. H<br />

is elementary if for any nodes x i and x k in H, i ≠ k implies x i ≠ x k . An<br />

elementary path H implies that H must have unique nodes in path. Using paths<br />

and alphabets we have the following definiti<strong>on</strong>.<br />

Definiti<strong>on</strong> 3 (Well-handled, Free-Choice (Petri nets) [19]). A Petri net<br />

N is well-handled iff for any pair of nodes x and y such that <strong>on</strong>e of the nodes<br />

is a place and the other a transiti<strong>on</strong>, and for any pair of elementary paths H 1<br />

and H 2 leading from x to y, alph(H 1 ) ∩ alph(H 2 ) = {x, y} implies H 1 = H 2 .<br />

N is free-choice iff for every two transiti<strong>on</strong>s t 1 and t 2 , •t 1 ∩ •t 2 ≠ ∅ implies<br />

•t 1 = •t 2 .<br />

Definiti<strong>on</strong> 3 provides structural properties of Petri nets. The well-handled property<br />

makes sure that a token that is split using parallel routing (AND-split) is<br />

synchr<strong>on</strong>ized or terminated with an AND-join. The property also assures that<br />

a c<strong>on</strong>diti<strong>on</strong>ally routed token (OR-split) is synchr<strong>on</strong>ized with an OR-join. If an<br />

147

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

Saved successfully!

Ooh no, something went wrong!