03.12.2012 Views

xoEPC - Jan Mendling

xoEPC - Jan Mendling

xoEPC - Jan Mendling

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.

3.4. EPC Semantics 87<br />

is set to dead and the output context to wait. (2) For XOR-connectors, one input token<br />

is consumed from one input arc and propagated to one of the output arcs if all of them<br />

are empty. The respective input arc is set to a dead context, as well as those output arcs<br />

that do not receive the token. The output arc with the positive token gets a wait context.<br />

(3) For OR-splits, the positive token is consumed from the input, and a combination of<br />

positive and negative tokens is produced at the output arcs such that at least one positive<br />

token is available. Furthermore, each output arc with a positive token gets a wait context<br />

while the others get a dead context. (4) OR-joins fire either if all input arcs are not empty<br />

and one of them has a positive token, or if there is no empty arc with a wait context<br />

and at least one positive token on the inputs. Then, all input tokens are consumed, plus<br />

potentially negative tokens on the negative upper corona, the input arcs are set to a dead<br />

context, and a positive token is produced on the output with a wait context.<br />

Definition 3.20 (Transition Relation for Positive State Propagation). Let EP C =<br />

(E, F, C, l, A) be a relaxed syntactically correct EPC, N = E ∪ F ∪ C its set of nodes,<br />

and MEP C its marking space. Then R +1 ⊆ MEP C × N × MEP C is the transition relation<br />

for positive state propagation and (m, n, m ′ ) ∈ R +1 if and only if:<br />

((n ∈ F ∪ Eint ∪ Cand) ∧<br />

(∀a∈nin : σm(a) = +1) ∧<br />

(∀a∈nout : σm(a) = 0) ∧<br />

(∀a∈nin<br />

: σm ′(a) = 0 ∧ κm ′(a) = dead) ∧<br />

(∀a∈nout : σm ′(a) = +1 ∧ κm ′(a) = wait) ∧<br />

(∀a∈A\(nin∪nout) : κm ′(a) = κm(a)) ∧<br />

(∀a∈A\(nin∪nout) : σm ′(a) = σm(a)))<br />

∨<br />

((n ∈ Cxor) ∧<br />

(∃a1∈nin : (σm(a1) = +1 ∧ σm ′(a1) = 0 ∧<br />

κm(a1) = wait ∧ κm ′(a1) = dead) ∧<br />

(∀a∈nout : σm(a) = 0) ∧<br />

(∃X∧a2∈nout : X = {a ∈ nin | σm(a) = −1 ∧ κm(a) = dead} ∧<br />

(σm ′(a2) = +1 ∧ κm ′(a2) = wait) ∧<br />

(∀a∈A\{a1,a2} : κm ′(a) = κm(a)) ∧

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

Saved successfully!

Ooh no, something went wrong!