• Keine Ergebnisse gefunden

Submit your solutions on Wednesday, May 29, during the lecture.

N/A
N/A
Protected

Academic year: 2021

Aktie "Submit your solutions on Wednesday, May 29, during the lecture."

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Games with perfect information

Exercise sheet 6 TU Braunschweig

Sebastian Muskalla Summer term 2019

Out: May 22 Due: May 29

Submit your solutions on Wednesday, May 29, during the lecture.

Exercise 1: Weak parity games

A weak parity game is given by a game arena G = ( V ∪⋅ V , R ) and a priority function Ω. Instead of considering the highest priority that occurs infinitely often to determine the winner of a play, we consider the highest priority that occurs at all.

Formally, for a set A and an infinite sequence pA

ω

over A, we define the occurrence set Occ(p) = {a ∈ A ∣ ∃i ∈ N ∶ p

i

= a} .

The winner of the weak parity game given by G and Ω is determined by the weak parity winning condition:

winPlays

max

→ { , } 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 6.5 from the lecture notes hold?

Do uniform positional winning strategies exist?

(2)

Algorithm: Zielonka’s recursive algorithm

Input: parity game G given by G = ( V , V , R ) and Ω.

Output: winning regions W and W . Procedure solve (G)

1:

n ← max

xV

Ω(x)

2:

if n = 0 then

3:

return W = V, W = ∅

4:

else

5:

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

6:

if n even then

7:

,

8:

else

9:

,

10:

end if

11:

A ← Attr

G

(N)

12:

W

, W

solve (G

V\A

)

13:

if W

= V \ A then

14:

return WV, W ← ∅

15:

else

16:

B ← Attr

G

(W

)

17:

W

′′

, W

′′

solve(G

↾V\B

)

18:

return W = W

′′

, W = W

′′

B

19:

end if

20:

end if

Exercise 2: Algorithmics of parity games

Use the algorithm algorithm to solve the following game. x

i

means that position x has priority i.

a0 b1 c2 d3 e4 f5 g6 h7

i0 j1 k2 l3 m4 n5 o6 p7

Referenzen

ÄHNLICHE DOKUMENTE

a) Present a reachability/safety game whose winning condition encodes the following property:. A play is won by the universal player if it does not visit both x

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

b) Modify the game arena such that it becomes deadlock free such that the correctness of the tree acceptance game (Lemma 8.13 in the lecture notes) is preserved.. c) How can one

Hint: To avoid the following construction becoming excessively large, restrict the domain to vectors of states that can actually occur.. b) Construct the parity word automaton

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

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

Vielleicht muss man nicht stundenlang die Picassos und die Van Goghs dieser Welt anstieren oder wochen- lang Musil und Proust lesen, um sein Selbstverständnis zu erweitern