03.12.2012 Views

xoEPC - Jan Mendling

xoEPC - Jan Mendling

xoEPC - Jan Mendling

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.4. EPC Semantics 69<br />

token. The disadvantage of producing negative tokens would be that the EPC is flooded<br />

with negative tokens if an XOR-split was used as an exit of a loop. These tokens would<br />

give downstream joins the wrong information about the state of the loop, since it would<br />

still be live. An OR-join could then synchronize with a negative token while a positive<br />

token is still in the loop. In contrast to that, the XOR-split as a loop exit produces a dead<br />

context. Since there is a positive token in the loop, it overwrites the dead context at the<br />

exit in the wait context propagation phase. Downstream OR-joins then have the correct<br />

information that there are still tokens to wait for.<br />

Definition of State, Context, and Marking<br />

We define both state and context as an assignment to the arcs. The term marking refers<br />

to state and context together. The EPC transition relations defines which state and/or<br />

context changes are allowed for a given marking in a given phase.<br />

Definition 3.12 (State and Context). Let EP C = (E, F, C, l, A) be a standard EPC.<br />

Then, a mapping σ : A → {−1, 0, +1} is called a state of an EP C. The positive<br />

token captures the state as it is observed from outside the process. It is represented by a<br />

black filled circle. The negative token depicted by a white open circle with a minus on<br />

it has a similar semantics as the negative token in the Boolean nets formalization. Arcs<br />

with no state tokens on them do not depict a circle. Furthermore, a mapping κ : A →<br />

{wait, dead} is called a context of an EP C. A wait context is represented by a w and a<br />

dead context by a d next to the arc.<br />

In contrast to Petri nets, we distinguish the terms marking and state: the term marking<br />

refers to state σ and context κ collectively.<br />

Definition 3.13 (Marking of an EPC). Let EP C = (E, F, C, l, A) be a standard EPC.<br />

Then, a mapping m : A → ({−1, 0, +1} × {wait, dead}) is called a marking. The set of<br />

all markings MEP C of an EPC is called marking space with MEP C = A × {−1, 0, +1} ×<br />

{wait, dead}. The projection of a given marking m to a subset of arcs S ⊆ A is referred<br />

to as mS. The marking ma of an arc a can be written as ma = (κ(a) + σ(a)) · a, e.g.<br />

(w + 1)a for an arc with a wait context and a positive token. If we refer to the κ- or the<br />

σ-part of m, we write κm and σm, respectively, i.e. m(a) = (σm(a), κm(a)).

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

Saved successfully!

Ooh no, something went wrong!