graph-games-proto 0.3.2043__py3-none-any.whl → 0.3.2045__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
graph_games_proto/fns.py CHANGED
@@ -4434,7 +4434,6 @@ def get_player_max_allotted_time(s, player_idx):
4434
4434
  return None
4435
4435
 
4436
4436
 
4437
- @dispatch(State, AllottedTime)
4438
4437
  def get_deadline(s, max_allotted_time):
4439
4438
  if not max_allotted_time:
4440
4439
  return None
@@ -4457,12 +4456,13 @@ def get_deadline(s, max_allotted_time):
4457
4456
  )
4458
4457
 
4459
4458
 
4459
+ @dispatch(State)
4460
4460
  def get_deadlines(s):
4461
4461
  if isterminal(s):
4462
4462
  return [None for _ in range(s.kernel.game_config.num_players)]
4463
4463
  return [
4464
- get_deadline(s, max_alloted_time)
4465
- for max_alloted_time in get_max_allotted_times(s)
4464
+ get_deadline(s, max_allotted_time)
4465
+ for max_allotted_time in get_max_allotted_times(s)
4466
4466
  ]
4467
4467
 
4468
4468
 
@@ -4540,6 +4540,7 @@ def imagine_state(public_state, private_state):
4540
4540
  return init_memoized_state(imagined_kernel)
4541
4541
 
4542
4542
 
4543
+ @dispatch(State)
4543
4544
  def isterminal(s):
4544
4545
  return len(s.legal_actions_3) == 0
4545
4546
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graph_games_proto
3
- Version: 0.3.2043
3
+ Version: 0.3.2045
4
4
  Requires-Dist: multipledispatch==1.0.0
5
5
  Requires-Dist: pyrsistent==0.20.0
6
6
  Requires-Dist: numpy==2.2.4
@@ -1,9 +1,9 @@
1
1
  graph_games_proto/__init__.py,sha256=_EVQR-51XehfH45XZlba1WPdx3omS3Gm1nTwrgGyn2Q,667
2
2
  graph_games_proto/all_types.py,sha256=IpbwftEcHS5Ewz-saFNk0lO9FvcbuHG36odRTayCXUk,54911
3
- graph_games_proto/fns.py,sha256=O5hgfnAzxYVE2b8Nenu_0tZEyzM47KKVDDWyJODXWZ8,193856
3
+ graph_games_proto/fns.py,sha256=5FkQQV9pzpX8d5ss1XL1rR29ef6rTZgcM0U94aKcAI4,193861
4
4
  graph_games_proto/main.py,sha256=fj2U7KcwrpZtuUhjOX5yVxY18LZvvsxDFYZ_S5mxe04,145
5
5
  graph_games_proto/state.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- graph_games_proto-0.3.2043.dist-info/METADATA,sha256=hdQk0xwsuV376M1W2AZB1aeCW4QqZ95jKe9q3gloxGA,188
7
- graph_games_proto-0.3.2043.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
- graph_games_proto-0.3.2043.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
9
- graph_games_proto-0.3.2043.dist-info/RECORD,,
6
+ graph_games_proto-0.3.2045.dist-info/METADATA,sha256=52qZ63D-sHB6TVNoa7FgJ_2_svgDpuPWsJLG8mnJuZg,188
7
+ graph_games_proto-0.3.2045.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
+ graph_games_proto-0.3.2045.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
9
+ graph_games_proto-0.3.2045.dist-info/RECORD,,