graph-games-proto 0.3.2043__py3-none-any.whl → 0.3.2044__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,7 @@ def get_player_max_allotted_time(s, player_idx):
4434
4434
  return None
4435
4435
 
4436
4436
 
4437
- @dispatch(State, AllottedTime)
4437
+ @dispatch(State, Any)
4438
4438
  def get_deadline(s, max_allotted_time):
4439
4439
  if not max_allotted_time:
4440
4440
  return None
@@ -4457,12 +4457,13 @@ def get_deadline(s, max_allotted_time):
4457
4457
  )
4458
4458
 
4459
4459
 
4460
+ @dispatch(State)
4460
4461
  def get_deadlines(s):
4461
4462
  if isterminal(s):
4462
4463
  return [None for _ in range(s.kernel.game_config.num_players)]
4463
4464
  return [
4464
- get_deadline(s, max_alloted_time)
4465
- for max_alloted_time in get_max_allotted_times(s)
4465
+ get_deadline(s, max_allotted_time)
4466
+ for max_allotted_time in get_max_allotted_times(s)
4466
4467
  ]
4467
4468
 
4468
4469
 
@@ -4540,6 +4541,7 @@ def imagine_state(public_state, private_state):
4540
4541
  return init_memoized_state(imagined_kernel)
4541
4542
 
4542
4543
 
4544
+ @dispatch(State)
4543
4545
  def isterminal(s):
4544
4546
  return len(s.legal_actions_3) == 0
4545
4547
 
@@ -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.2044
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=U9Xpt5mKSypo86HfuCOwnEvVTCU9N-arehm7AUkRQGk,193883
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.2044.dist-info/METADATA,sha256=-zqy4wjt6N2vKKkwNtj9wWOVFHXAARsAzIekP6SuZdU,188
7
+ graph_games_proto-0.3.2044.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
+ graph_games_proto-0.3.2044.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
9
+ graph_games_proto-0.3.2044.dist-info/RECORD,,