Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...
Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...
Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
path with the longer duration [2], in this thesis, we define the joint distribution <strong>of</strong> the<br />
parallelism building block as the joint distribution <strong>of</strong> the path with a lager expected<br />
duration, i.e. if<br />
j l<br />
j<br />
l<br />
∑ µ p ≥ ∑ µ q then Z = ∑ µ p , otherwise Z = ∑ µ q .<br />
p=<br />
i q=<br />
k<br />
p=<br />
i<br />
q=<br />
k<br />
Accordingly, the structure weight for each activity on the path with longer duration<br />
is 1 while on the other path is 0. Therefore, the weighted joint distribution <strong>of</strong> this<br />
block is<br />
Z<br />
⎧ j ⎛ j j ⎞ j l<br />
⎪ ∑ ⎜<br />
2<br />
X<br />
⎟<br />
p ~ N<br />
≥ ∑<br />
⎪<br />
∑ µ p,<br />
∑ σ p , if<br />
∑ µ p µ q<br />
p= i<br />
=<br />
⎝ p=<br />
i p=<br />
i ⎠ p=<br />
i q=<br />
k<br />
⎨<br />
⎪<br />
l ⎛ l l ⎞<br />
⎪<br />
∑ ⎜<br />
2<br />
X<br />
⎟<br />
q ~ N<br />
∑ µ q,<br />
∑ σ q , otherwise<br />
⎩ q= k ⎝ q=<br />
k q=<br />
k ⎠<br />
.<br />
Figure 5.3 Parallelism Building Block<br />
4) Choice building block. As depicted in Figure 5.4, the choice building block<br />
contains two paths in an exclusive relationship which means that only one path will<br />
be executed at runtime. The probability notation denotes that the probability for the<br />
choice <strong>of</strong> the upper path is β <strong>and</strong> hence the choice probability for the lower path is<br />
1 − β . In the real world, β may also follow some probability distribution. However,<br />
similar to the iteration building block, in order to avoid the complex joint<br />
distribution, β is estimated by the mean probability for selecting a specific path, i.e.<br />
the number <strong>of</strong> times that the path has been selected divided by the total number <strong>of</strong><br />
workflow instances. Accordingly, the structure weight for each activity in the choice<br />
building block is the probability <strong>of</strong> the path it belongs to. The weighted joint<br />
j<br />
l<br />
distribution is Z = ( ∑ X p ) + (1 −β)(<br />
∑ Xq)<br />
p=<br />
i<br />
q=<br />
k<br />
⎛<br />
N⎜<br />
⎝<br />
β ~<br />
j<br />
l<br />
j<br />
l<br />
2 2 2 2 ⎞<br />
( ∑ µ ) + (1 − )( ∑ ), ( ∑ ) + (1 − ) ( ∑ ) ⎟<br />
p β µ q β σ p β σ p<br />
p=<br />
i<br />
q=<br />
k p=<br />
i<br />
q=<br />
k ⎠<br />
β .<br />
76