Skip to content

Commit 6da8e85

Browse files
committed
removed to_efg calls
1 parent 307a4dc commit 6da8e85

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

tests/games.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def create_2x2_zero_sum_efg(missing_term_outcome: bool = False) -> gbt.Game:
120120
if not missing_term_outcome:
121121
g.set_outcome(g.root.children["T"].children["r"], draw)
122122

123-
g.to_efg(f"2x2_zero_sum_efg_{missing_term_outcome}.efg")
124123
return g
125124

126125

@@ -188,7 +187,6 @@ def create_three_action_internal_outcomes_efg(nonterm_outcomes: bool = False) ->
188187
g.set_outcome(g.root.children[1].children[1].children[1], o_m1)
189188
g.set_outcome(g.root.children[1].children[2].children[0], o_m1)
190189
g.set_outcome(g.root.children[1].children[2].children[1], o_1)
191-
g.to_efg(f"three_action_internal_outcomes_efg_{nonterm_outcomes}.efg")
192190
return g
193191

194192

@@ -211,7 +209,6 @@ def create_entry_accomodation_efg(nonterm_outcomes: bool = False) -> gbt.Game:
211209
g.set_outcome(g.root.children[1].children[0].children[0], g.add_outcome([2, 3]))
212210
g.set_outcome(g.root.children[1].children[0].children[1], g.add_outcome([1, 0]))
213211
g.set_outcome(g.root.children[1].children[1], g.add_outcome([3, 1]))
214-
g.to_efg(f"entry_accomodation_efg_{nonterm_outcomes}.efg")
215212
return g
216213

217214

@@ -234,7 +231,6 @@ def create_non_zero_sum_lacking_outcome_efg(missing_term_outcome: bool = False)
234231
g.set_outcome(g.root.children[1].children[0].children[1], g.add_outcome([0, 1]))
235232
g.set_outcome(g.root.children[1].children[1].children[0], g.add_outcome([-1, 1]))
236233
g.set_outcome(g.root.children[1].children[1].children[1], g.add_outcome([2, -1]))
237-
g.to_efg(f"non_zero_sum_lacking_outcome_efg_{missing_term_outcome}.efg")
238234
return g
239235

240236

@@ -285,7 +281,6 @@ def create_chance_in_middle_efg(nonterm_outcomes: bool = False) -> gbt.Game:
285281
g.set_outcome(g.root.children[1].children[1].children[0].children[1], o_m1)
286282
g.set_outcome(g.root.children[1].children[1].children[1].children[0], o_h)
287283
g.set_outcome(g.root.children[1].children[1].children[1].children[1], o_mh)
288-
g.to_efg(f"chance_in_middle_efg_{nonterm_outcomes}.efg")
289284
return g
290285

291286

@@ -354,7 +349,6 @@ def create_3_player_with_internal_outcomes_efg(nonterm_outcomes: bool = False) -
354349
g.set_outcome(g.root.children[1].children[1].children[0], o)
355350
o = g.add_outcome([1, 2, 3])
356351
g.set_outcome(g.root.children[1].children[1].children[1], o)
357-
g.to_efg(f"3_player_with_internal_outcomes_{nonterm_outcomes}.efg")
358352
return g
359353

360354

@@ -375,7 +369,6 @@ def create_matching_pennies_efg(with_neutral_outcome: bool = False) -> gbt.Game:
375369
g.set_outcome(g.root.children["T"].children["t"], alice_win)
376370
g.set_outcome(g.root.children["H"].children["t"], alice_lose)
377371
g.set_outcome(g.root.children["T"].children["h"], alice_lose)
378-
g.to_efg(f"matching_pennies_efg_{with_neutral_outcome}.efg")
379372
return g
380373

381374

@@ -962,7 +955,6 @@ def create_two_player_perfect_info_win_lose_efg(nonterm_outcomes: bool = False)
962955
g.set_outcome(g.root.children[0].children[1], g.add_outcome([101, -51], label="aR"))
963956
g.set_outcome(g.root.children[1].children[0], g.add_outcome([1, -1], label="bL"))
964957
g.set_outcome(g.root.children[1].children[1], g.add_outcome([-1, 1], label="bR"))
965-
g.to_efg(f"two_player_perfect_info_win_lose_efg_{nonterm_outcomes}.efg")
966958
return g
967959

968960

0 commit comments

Comments
 (0)