• Keine Ergebnisse gefunden

Games with perfect information

N/A
N/A
Protected

Academic year: 2021

Aktie "Games with perfect information"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Games with perfect information

Exercise sheet 6

TU Braunschweig

Sebastian Muskalla Summer term 2018

Out: May 9 Due: May 16

Submit your solutions on Wednesday, May 16, at the beginning of the lecture.

Please submit in groups of three persons.

Exercise 1: Is it a trap?

a) Formally prove Part a) of Lemma 6.9 from the lecture notes:

LetYVand ∈{ , }. The complement of the attractorV\Attr (Y)is a trap for player . b) Construct a game arena and a setYsuch that Attr (Y)is not a trap for any of the players. Proof

that these properties hold.

Exercise 2: It’s a trap!

Formally prove Lemma 6.12 from the lecture notes:

LetXVbe a trap for player inGand lets be a strategy for the opponent that is winning from some vertexxXin the subgameGX. Thens is also winning fromxin the gameG.

Exercise 3: Weak parity games

Aweak parity gameis given by a game arenaG=(V ∪⋅V ,R)and a priority function Ω. Instead of considering the highest priority thatoccurs infinitely oftento determine the winner of a play, we consider the highest priority thatoccurs at all.

Formally, for an infinite sequencepAω, we define theoccurrence set Occ(p)={aA∣∃i∈N∶pi =a}.

The winner of the weak parity game given byGand Ω is determined by theweak parity winning condition:

winPlaysmax → { , } p ↦ ⎧⎪⎪⎪⎨

⎪⎪⎪⎩

, if max Occ(Ω(p))is even,

, else, i.e. if max Occ(Ω(p))is odd.

a) Present an algorithm that, given a weak parity game on a finite, deadlock-free game arena, computes the winning regions of both players. Briefly argue that your algorithm is correct.

Hint:Attractors!

b) Is the winning condition of weak parity games prefix-independent, i.e. does Lemma??hold?

Do uniform positional winning strategies exist?

(2)

Algorithm: Zielonka’s recursive algorithm

Input:parity gameGgiven byG=(V ,V ,R)and Ω.

Output:winning regionsW andW . Proceduresolve(G)

1: n=maxxVΩ(x)

2: ifn=0then

3: returnW =V,W =∅

4: else

5: N={xV∣Ω(x)= n}

6: ifneventhen

7: = , =

8: else

9: = , =

10: end if

11: A=AttrG(N)

12: W ,W =solve(GV\A)

13: if W =V\A then

14: returnW = V,W = ∅

15: else

16: B=AttrG(W )

17: W′′,W′′ =solve(G↾V\B)

18: returnW = W′′ ,W =W′′B

19: end if

20: end if

Exercise 4: Algorithmics of parity games

Use Zielonka’s recursive algorithm to solve the following parity game.

a0 b1 c2 d3 e4 f5 g6 h7

i0 j1 k2 l3 m4 n5 o6 p7

Referenzen

ÄHNLICHE DOKUMENTE

a) Present an algorithm that, given a weak parity game on a finite, deadlock-free game arena, computes the winning regions of both players. Briefly argue that your algorithm

Write down pseudo-code for an algorithm that computes the winning region W # of the ex- istential player, and at the same time computes uniform positional winning strategies s # , s

a) Present an algorithm that, given a weak parity game on a finite, deadlock-free game arena, computes the winning regions of both players.. Briefly argue that your algorithm

Cloud Computing (SS2018) Faculty of Computer Science and Engineering Frankfurt University of Applied Sciences.. Your

The BCHR has been following the case of one group in Serbia: On 17 December 2016, an unidentified group of uniformed officers intercepted a bus carrying seven Syrian asylum seekers

For not only are they able to give free reign to their imagination and creativity to create the kind of algorithm visualization they want, their construction

For k ∈ N , the k-wheel W k is the undirected graph which consists of a cycle with k vertices and an extra vertex in the middle which is connected to every vertex on the cycle...

(a) Make precise and prove the statement that Büchi/coBüchi-games are special cases of parity games. (b) Give an algorithm which computes the winning regions of both players in