Probabilistic Model Checking Probabilistic Model Checking
Part 4 Part 4 -
- Markov Decision Processes
Probabilistic Model Checking Probabilistic Model Checking Marta - - PowerPoint PPT Presentation
Probabilistic Model Checking Probabilistic Model Checking Marta Kwiatkowska Kwiatkowska Marta Gethin Norman Norman Gethin Dave Parker Dave Parker University of Oxford University of Oxford Part 4 - - Markov Decision Processes Markov
2
3
0.01 0.98 0.01 1 1 1 {fail} {succ} {try}
4
5
0.01 0.98 0.01 1 1 1 {fail} {succ} {try}
{fail} {succ} {try}
6
7
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
8
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
9
0.01 0.99 1 1 1 1 {fail} {try} {succ} start send wait restart stop
10
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
11
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
12
⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ = 1 1 5 . 5 . 3 . 7 . 1 Steps Steps
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
13
1 1 1
s0 t0 s0 t1 s0 t2 s1 t0 s2 t0 s1 t1 s2 t1 s1 t2 s2 t2
0.5 1 1 1 1 1 0.5 1 0.5 1 1 0.5 1 0.5 1 0.5 0.5 0.5 0.5 1 0.5 0.5 0.5 0.5 0.5 0.5 1 0.5 1
14
15
s over paths
fin(s),s,PA s)
s(ω,ω’)=μ(s) if ω’= ω(a, μ)s and A(ω)=(a,μ)
s(ω,ω’)=0 otherwise
16
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
17
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
0.5 1
0.5 1 1
18
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
0.5 1
0.5
0.7
0.3 1
0.5
0.5 1 1
19
20
21
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
22
{tails} {tails} {tails}
{tails} {tails}
{init}
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
23
s { ω ∈ PathA(s) | ω ⊨ ψ }
s
24
25
26
27
28
29
30
31
32
33
34
s
35
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ = ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ ⋅ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ = ⋅ 1 5 . 1 1 1 5 . 5 . 3 . 7 . 1 heads Steps Steps
36
37
38
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
39
40
41
42
? S s' S s' ' s s S s s
yes ? ?
∈ ∈ ∈
43
? S s' S s' ' s s S s s
yes ? ?
∈ ∈ ∈
44
0.5 0.5 0.7 1 1 {heads} {tails} {init} 0.3 1 a b c a a
45
46
47
48
49
s
50
1 k i i i k C
− = ≤
k k I
=
i 1
i i i φ F
φ
51
52
53
54