Skip to content

Commit e962da7

Browse files
authored
Add EFGs from shohamleytonbrown2008 (#987)
1 parent a79e549 commit e962da7

23 files changed

Lines changed: 516 additions & 1 deletion

build_support/catalog/catalog.am

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
CATALOG_FILES = \
22
catalog/books/myerson1991/fig2_1.efg \
33
catalog/books/myerson1991/fig4_2.efg \
4+
catalog/books/shohamleytonbrown2008/fig5_1.efg \
5+
catalog/books/shohamleytonbrown2008/fig5_10.efg \
6+
catalog/books/shohamleytonbrown2008/fig5_10__original_layout.ef \
7+
catalog/books/shohamleytonbrown2008/fig5_11.efg \
8+
catalog/books/shohamleytonbrown2008/fig5_11__original_layout.ef \
9+
catalog/books/shohamleytonbrown2008/fig5_12.efg \
10+
catalog/books/shohamleytonbrown2008/fig5_12__original_layout.ef \
11+
catalog/books/shohamleytonbrown2008/fig5_15.efg \
12+
catalog/books/shohamleytonbrown2008/fig5_15__original_layout.ef \
13+
catalog/books/shohamleytonbrown2008/fig5_1__original_layout.ef \
14+
catalog/books/shohamleytonbrown2008/fig5_2.efg \
15+
catalog/books/shohamleytonbrown2008/fig5_2__original_layout.ef \
16+
catalog/books/shohamleytonbrown2008/fig5_9.efg \
17+
catalog/books/shohamleytonbrown2008/fig5_9__original_layout.ef \
18+
catalog/books/shohamleytonbrown2008/fig6_2.efg \
19+
catalog/books/shohamleytonbrown2008/fig6_2__original_layout.ef \
20+
catalog/books/shohamleytonbrown2008/fig6_8.efg \
21+
catalog/books/shohamleytonbrown2008/fig6_8__original_layout.ef \
422
catalog/books/vonstengel2022/fig10.1.efg \
523
catalog/books/vonstengel2022/fig10.12.efg \
624
catalog/books/vonstengel2022/fig10.5.efg \
@@ -23,6 +41,7 @@ CATALOG_FILES = \
2341
catalog/journals/ijgt/selten1975/fig2.efg \
2442
catalog/journals/ijgt/selten1975/fig3.efg \
2543
catalog/journals/mor/vonstengelforges2008/fig1.efg \
44+
catalog/journals/mor/vonstengelforges2008/fig1__Original_Layout.ef \
2645
catalog/journals/mor/vonstengelforges2008/fig6.efg \
2746
catalog/journals/mor/vonstengelforges2008/fig6__Original_Layout.ef \
2847
catalog/journals/mor/vonstengelforges2008/fig9.efg \

build_support/catalog/catalog_hierarchy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ labels:
1414
books/myerson1991: "Myerson (1991) — Game Theory: Analysis of Conflict"
1515
books/vonstengel2022: "von Stengel (2022) — Game Theory Basics"
1616
books/watson2013: "Watson (2013) — Strategy: An Introduction to Game Theory"
17+
books/shohamleytonbrown2008: "Shoham and Leyton-Brown (2008) — Multiagent Systems, Algorithmic, Game-Theoretic, and Logical Foundations"
1718
journals/geb/gilboa1997: "Gilboa (1997)"
1819
journals/geb/wichardt2008: "Wichardt (2008)"
1920
journals/ijgt/nau2004: "Nau et al. (2004)"

build_support/catalog/gtdraw_settings.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,31 @@ overrides:
4444
2: '#DD79E0'
4545
3: '#1616BC'
4646
4: '#985003'
47+
48+
books/shohamleytonbrown2008/fig6_8:
49+
scale_factor: 1.0
50+
level_scaling: 1.0
51+
sublevel_scaling: 1.0
52+
width_scaling: 1.0
53+
horizontal: false
54+
mirror: false
55+
shared_terminal_depth: false
56+
color_scheme: colorblind
57+
edge_thickness: 1.0
58+
action_label_position: 0.5
59+
action_label_position_by: player
60+
action_label_dist: 1.0
61+
vary_action_label_positions: false
62+
vary_action_label_positions_by: all
63+
font_family: rmfamily
64+
font_bold: false
65+
font_italic: false
66+
font_size: normalsize
67+
node_size: 1.5
68+
label_bg: false
69+
label_bg_color: white
70+
label_bg_opacity: 0.8
71+
iset_fill: true
72+
iset_fill_opacity: 0.2
73+
iset_boundary: none
74+
legend_position: top-left
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
EFG 2 R "Fig 5.1 from Shoham and Leyton-Brown (2008)" { "1" "2" }
2+
3+
"
4+
Figure 5.1 from :cite:p:`ShoLeyB08`.
5+
This is a sharing game. Imagine a brother and sister sharing two indivisible and identical presents
6+
from their parents. First the brother suggests a split, which can be one of three: he
7+
keeps both, she keeps both, or they each keep one. Then the sister chooses whether
8+
to accept or reject the split. If she accepts they each get their allocated present(s),
9+
and otherwise neither gets any gift.
10+
"
11+
12+
p "" 1 1 "" { "2-0" "1-1" "0-2" } 0
13+
p "" 2 2 "" { "no" "yes" } 0
14+
t "" 1 "" { 0 0 }
15+
t "" 2 "" { 2 0 }
16+
p "" 2 3 "" { "no" "yes" } 0
17+
t "" 3 "" { 0 0 }
18+
t "" 4 "" { 1 1 }
19+
p "" 2 4 "" { "no" "yes" } 0
20+
t "" 5 "" { 0 0 }
21+
t "" 6 "" { 0 2 }
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
EFG 2 R "Fig 5.10 from Shoham and Leyton-Brown (2008)" { "1" "2" }
2+
3+
"
4+
Figure 5.10 from :cite:p:`ShoLeyB08`.
5+
This is an example of an imperfect-information game.
6+
"
7+
8+
p "" 1 2 "" { "L" "R" } 0
9+
p "" 2 3 "" { "A" "B" } 0
10+
p "" 1 1 "" { "l" "r" } 0
11+
t "" 1 "" { 0 0 }
12+
t "" 2 "" { 2 4 }
13+
p "" 1 1 0
14+
t "" 3 "" { 4 2 }
15+
t "" 4 "" { 0 0 }
16+
t "" 5 "" { 0 0 }
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
player 1 name 1
2+
player 2 name 2
3+
level 0 node 1 player 1
4+
level 2 node 1 player 2 xshift -3.58 from 0,1 move L
5+
level 2 node 2 xshift 3.58 from 0,1 move R payoffs 0 0
6+
level 4 node 1 xshift -2.86 from 2,1 move A
7+
level 4 node 2 xshift 2.86 from 2,1 move B
8+
level 6 node 1 xshift -1.43 from 4,1 move l payoffs 0 0
9+
level 6 node 2 xshift 1.43 from 4,1 move r payoffs 2 4
10+
level 6 node 3 xshift -1.43 from 4,2 move l payoffs 4 2
11+
level 6 node 4 xshift 1.43 from 4,2 move r payoffs 0 0
12+
iset 4,1 4,2 player 1
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
EFG 2 R "Fig 5.11 from Shoham and Leyton-Brown (2008)" { "1" "2" }
2+
3+
"
4+
Figure 5.11 from :cite:p:`ShoLeyB08`.
5+
The Prisoner's Dilemma game in extensive form.
6+
"
7+
8+
p "" 1 2 "" { "C" "D" } 0
9+
p "" 2 1 "" { "c" "d" } 0
10+
t "" 1 "" { -1 -1 }
11+
t "" 2 "" { -4 0 }
12+
p "" 2 1 0
13+
t "" 3 "" { 0 -4 }
14+
t "" 4 "" { -3 -3 }
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
player 1 name 1
2+
player 2 name 2
3+
level 0 node 1 player 1
4+
level 2 node 1 xshift -3.58 from 0,1 move C
5+
level 2 node 2 xshift 3.58 from 0,1 move D
6+
level 4 node 1 xshift -1.79 from 2,1 move c payoffs -1 -1
7+
level 4 node 2 xshift 1.79 from 2,1 move d payoffs -4 0
8+
level 4 node 3 xshift -1.79 from 2,2 move c payoffs 0 -4
9+
level 4 node 4 xshift 1.79 from 2,2 move d payoffs -3 -3
10+
iset 2,1 2,2 player 2
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
EFG 2 R "Fig 5.12 from Shoham and Leyton-Brown (2008)" { "1" "2" }
2+
3+
"
4+
Figure 5.12 from :cite:p:`ShoLeyB08`.
5+
A game with imperfect recall, in particular absent-mindedness.
6+
"
7+
8+
9+
p "" 1 1 "" { "L" "R" } 0
10+
p "" 1 1 0
11+
t "" 1 "" { 1 0 }
12+
t "" 2 "" { 100 100 }
13+
p "" 2 2 "" { "U" "D" } 0
14+
t "" 3 "" { 5 1 }
15+
t "" 4 "" { 2 2 }
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
% Extensive-form game transcribed from the uploaded image
2+
player 1 name 1
3+
player 2 name 2
4+
5+
% Player 1's two decision nodes are in the same information set.
6+
level 0 node 1
7+
level 2 node 1 xshift -3 from 0,1 move L
8+
level 2 node 2 xshift 3 from 0,1 move R player 2
9+
10+
level 4 node 1 xshift -1 from 2,1 move L payoffs 1 0
11+
level 4 node 2 xshift 1 from 2,1 move R payoffs 100 100
12+
level 4 node 3 xshift -1 from 2,2 move U payoffs 5 1
13+
level 4 node 4 xshift 1 from 2,2 move D payoffs 2 2
14+
15+
iset 0,1 2,1 player 1

0 commit comments

Comments
 (0)