21.01.2014 Views

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 ...

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.

violations can still be recovered by light-weight automatic h<strong>and</strong>ling strategies.<br />

As discussed in [17], similar to TDA, the basic idea <strong>of</strong> PTDA is to automatically<br />

utilise the expected probability time redundancy <strong>of</strong> the subsequent workflow<br />

segments to compensate the current time deficits. ACOWR, as one type <strong>of</strong> workflow<br />

rescheduling strategies, is to tackle the violations <strong>of</strong> QoS constraints through<br />

optimising the current plan for Task-to-Resource assignment [62]. When temporal<br />

violations are detected, these strategies can be realised automatically without human<br />

interventions. Furthermore, PTDA produces only a small amount <strong>of</strong> calculations.<br />

ACOWR, as a type <strong>of</strong> metaheuristic searching algorithm, consumes more yet<br />

acceptable computing time but without recruiting additional resources. Therefore, as<br />

will also be verified through the simulation experiments demonstrated in Section 8.6,<br />

PTDA, ACOWR <strong>and</strong> the hybrid strategy <strong>of</strong> PTDA <strong>and</strong> ACOWR are effective<br />

c<strong>and</strong>idates for h<strong>and</strong>ling temporal violations given the requirements <strong>of</strong> both<br />

automation <strong>and</strong> cost-effectiveness as presented in Section 8.1.2.<br />

In the following, we present the algorithms for the three temporal violation<br />

h<strong>and</strong>ling strategies.<br />

PTDA for Level I Violations<br />

TD( a p<br />

)<br />

WS ( a<br />

p+<br />

1,<br />

a<br />

p+<br />

1,...<br />

a<br />

p+<br />

m<br />

)<br />

( a p + 1,<br />

a p m<br />

)<br />

2<br />

M{<br />

µ , σ }<br />

i i<br />

U<br />

+<br />

{ U′<br />

( a ) | i = p + 1,... p m};<br />

U i +<br />

p+<br />

m<br />

∑<br />

p+ 1 , a p+<br />

m ) = U ( a p+<br />

1,<br />

a p+<br />

m ) − ( µ i + λθ<br />

* i )<br />

i=<br />

p+<br />

1<br />

TR( a<br />

σ<br />

i = p +1<br />

U '<br />

( a ) U( a )<br />

3σ<br />

p + m<br />

i = i − TR(<br />

a p+<br />

1,<br />

a p+<br />

m ) *<br />

p+<br />

m<br />

∑<br />

i=<br />

p+<br />

1<br />

( a )<br />

( ai<br />

) − M ( ai<br />

)<br />

( D(<br />

a ) − M ( a ))<br />

D<br />

σ<br />

i<br />

= U<br />

i<br />

− TR(<br />

a<br />

p+<br />

1<br />

, a<br />

p+<br />

m<br />

) *<br />

p+<br />

m<br />

∑<br />

i<br />

i=<br />

p+<br />

1<br />

D( a i<br />

) µ<br />

i<br />

+ 3σ<br />

i<br />

a i<br />

=<br />

( σ )<br />

= M ( ) µ<br />

i<br />

{ U ′( a ) | i = p + 1,...<br />

p m}<br />

U<br />

i<br />

+<br />

i<br />

Figure 8.6 PTDA Algorithm<br />

i<br />

The basic idea <strong>of</strong> PTDA is the same as TDA presented in Section 8.2.1. However,<br />

since in this thesis, the time deficits are calculated based on our probability based<br />

139

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

Saved successfully!

Ooh no, something went wrong!