07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

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.

9 Test<strong>in</strong>g Theory for Probabilistic Systems 241<br />

left transition. Furthermore, this probability can be 0 if the right transition is<br />

chosen. In a similar manner we derive that the probability of reach<strong>in</strong>g u2 lies <strong>in</strong><br />

the <strong>in</strong>terval [ 1 2<br />

2 , 3 ]. In general we can assume that the left transition is taken with<br />

probability p1, the right transition with probability p2 and that with probability<br />

1 − (p1 + p2) no transition is chosen (the external user decides to do noth<strong>in</strong>g).<br />

Accord<strong>in</strong>gly, <strong>in</strong> the follow<strong>in</strong>g section we add weights to every transition.<br />

⊓⊔<br />

9.4.1 Remov<strong>in</strong>g Nondeterm<strong>in</strong>ism<br />

The idea of add<strong>in</strong>g weights to nondeterm<strong>in</strong>istic alternatives is also known as<br />

randomized policies, schedulers or adversaries [Put94]. Sometimes the possibility<br />

of schedul<strong>in</strong>g no transition at all is omitted or all weights take only values <strong>in</strong> the<br />

set {0, 1} (also called determ<strong>in</strong>istic scheduler).<br />

Add<strong>in</strong>g weights means reduc<strong>in</strong>g P to a fully probabilistic resolution of P where<br />

the (unique) probability of reach<strong>in</strong>g certa<strong>in</strong> states or perform<strong>in</strong>g certa<strong>in</strong> actions<br />

can be computed.<br />

Def<strong>in</strong>ition 9.4.<br />

• Let P =(SP, →P, sp) ∈ PP and ⊥�∈ SP, stop �∈ Actτ .WeextendAct to the<br />

set Act ∪{stop} and P to Stop(P) =(SP ∪{⊥}, →, sP) ∈ PP with<br />

→=→P ∪{(s, stop,χ⊥) | s ∈ SP}.<br />

• Let Q =(SQ, →Q, sQ) ∈ PP and let δ be a weight function on (SQ × Actτ ×<br />

Distr(SQ)) such that for all non-term<strong>in</strong>al states s ∈ SQ :<br />

�<br />

a,µ:s a δ(s, a,µ)=1.<br />

−→µ<br />

In this case δ is called a weight function for P and δ(Q) =(SQ, →, sQ) ∈<br />

FPP is given by<br />

s (a,p)<br />

−−−→ s ′ iff δ(s, a,µ) · �<br />

µ:s a<br />

−→µ µ(s′ )=p.<br />

• Let fully(P) be the set of fully probabilistic processes of P ∈ PP constructed<br />

<strong>in</strong> the way previously described, i.e.<br />

fully(P) ={δ(Stop(P)) | δ is a weight function for Stop(P)}.<br />

⊓⊔<br />

The stop-action models that no transition of P is chosen. This action always<br />

ends <strong>in</strong> the term<strong>in</strong>al ⊥-state and no further executions are possible. Sometimes<br />

the Stop(P) extension is called the halt<strong>in</strong>g extension of P.<br />

Example. Figure 9.3 shows δ(Stop(P)) ∈ fully(P) wherePis the probabilistic<br />

process of Figure 9.2 and δ(sP , a,µ)= 1<br />

2 , δ(sP, b,λ)= 1<br />

3 , δ(sP, stop,χ⊥) = 1<br />

6<br />

and δ(ui, stop,χ⊥) =1fori =1, 2, 3.<br />

⊓⊔<br />

We have already def<strong>in</strong>ed paths and traces <strong>in</strong> fully probabilistic processes. With<br />

the help of the previous construction we analyze paths and traces <strong>in</strong> a probabilistic<br />

process P by consider<strong>in</strong>g fully(P).

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

Saved successfully!

Ooh no, something went wrong!