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.

82 3. Event-driven Process Chains (EPC)<br />

• m max<br />

→ d m ′ if and only if ∃τ : m τ → d m ′ ∧ �∃ m ′′ �=m ′ : m ′ → d m ′′ .<br />

• maxd : MEP C → MEP C such that maxd(m) = m ′ if and only if m max<br />

→ d m ′ . The<br />

existence of a unique maxd(m) is the subject of Theorem 3.1 below.<br />

Theorem 3.1 (Dead Context Propagation terminates). For an EPC and a given marking<br />

m, there exists a unique maxd(m) which is determined in a finite number of propagation<br />

steps.<br />

Proof. Regarding uniqueness, by contradiction: Consider an original marking m0 ∈<br />

MEP C and two markings mmax1, mmax2 ∈ MEP C such that m0<br />

max<br />

→d mmax1, m0<br />

mmax2, and mmax1 �= mmax2. Since both mmax1 and mmax2 can be produced from m0<br />

they share at least those arcs with dead context that were already dead in m0. Further-<br />

more, following from the inequality, there must be an arc a that has a wait context in<br />

one marking, but not in the other. Let us assume that this marking is mmax1. But if<br />

τ<br />

∃τ : m0 → mmax2 such that κmmax2(a) = dead, then there must also ∃τ<br />

d ′ τ<br />

: mmax1<br />

′<br />

→ m<br />

d ′<br />

such that κm ′(a) = dead because mmax2 is produced applying the propagation rules<br />

without ever changing a dead context to a wait context. Accordingly, there are further<br />

max<br />

propagation rules that can be applied on mmax1 and the assumption m0 →d mmax1 is<br />

wrong. Therefore, if there are two mmax1 and mmax2, they must have the same set of arcs<br />

with dead context, and therefore also the same set of arcs with wait context. Since both<br />

their states are equal to the state of m0 they are equivalent, i.e., maxd(m) is unique.<br />

Regarding finiteness: Following Definition 3.11 on page 50, the number of nodes of an<br />

EP C is finite, and therefore the set of arcs is also finite. Since the number of dead con-<br />

text arcs is increased in each propagation step, no new propagation rule can be applied,<br />

at the latest after each arc has a dead context. Accordingly, dead context propagation<br />

terminates at the latest after |A| steps.<br />

Phase 2: Transition Relation for Wait Context Propagation<br />

For the wait context propagation, we also distinguish two cases based on the different<br />

transition relations of Figure 3.13. The first case covers (a) function, (b) intermediate<br />

event, (c) split, (d) and-join nodes. If the node belongs to this group and all input arcs<br />

max<br />

→d

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

Saved successfully!

Ooh no, something went wrong!