summaryrefslogtreecommitdiffstats
path: root/test_cases/q4/3-one-ghost-4level.test
blob: 6490a48614f7cd15811c0eab182e45c06cd04558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
class: "GraphGameTreeTest"
alg: "ExpectimaxAgent"
depth: "4"

diagram: """
            /-----a------\
           /              \
          /                \
        b1                  b2
      /    \              /     \
   c1        c2        c3        c4
  /  \      /  \      /   \     /   \
 d1   d2  d3   d4    d5   d6   d7   d8
/ \  / \  / \  / \   / \  / \  / \  / \ 
A B  C D  E F  G H   I J  K L  M N  O P
3 13 5 9 10 11 6 8   1 0  4 7 12 15 2 14

a - max
b - exp
c - max
d - exp
"""
num_agents: "2"

start_state: "a"
win_states: "A B C D E F G H I J K L M N O P"
lose_states: ""

successors: """
a Left b1
a Right b2
b1 Left c1
b1 Right c2
b2 Left c3
b2 Right c4
c1 Left d1
c1 Right d2
c2 Left d3
c2 Right d4
c3 Left d5
c3 Right d6
c4 Left d7
c4 Right d8
d1 Left A
d1 Right B
d2 Left C
d2 Right D
d3 Left E
d3 Right F
d4 Left G
d4 Right H
d5 Left I
d5 Right J
d6 Left K
d6 Right L
d7 Left M
d7 Right N
d8 Left O
d8 Right P
"""

evaluation: """
A 3.0
B 13.0
C 5.0
D 9.0
E 10.0
F 11.0
G 6.0
H 8.0
I 1.0
J 0.0
K 4.0
L 7.0
M 12.0
N 15.0
O 2.0
P 14.0
"""