algorhino-anemone 0.1.7__py3-none-any.whl → 0.1.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: algorhino-anemone
3
- Version: 0.1.7
3
+ Version: 0.1.9
4
4
  Summary: anemone searches trees
5
5
  Author-email: Victor Gabillon <victorgabillon@gmail.com>
6
6
  License-Expression: GPL-3.0-only
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.13
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: valanga>=0.1.7
15
+ Requires-Dist: valanga>=0.1.10
16
16
  Requires-Dist: atomheart>=0.1.2
17
17
  Requires-Dist: rich
18
18
  Requires-Dist: sortedcollections>=2.1.0
@@ -1,7 +1,7 @@
1
- algorhino_anemone-0.1.7.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
1
+ algorhino_anemone-0.1.9.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
2
2
  anemone/__init__.py,sha256=iKX9OGJxbyIqe9Fy-xxZY6sdH7WcG4RFyPR0WBai7Ls,942
3
3
  anemone/basics.py,sha256=wKagPFuxXhDQbjTuM1Qjh37HcJt0m39NBMDg2dc2M6M,188
4
- anemone/factory.py,sha256=43i9Qcw1LYcqdbCcD75EV8TtdswyrD6VMX1nsdqErng,6252
4
+ anemone/factory.py,sha256=mZ-YD8bZYNsejDbLExcu96kM3LTQLKqwug2xROGCsJ8,6163
5
5
  anemone/state_transition.py,sha256=fxvHZOYRtWV5ExXRIoehdRg9qV6zhgiE5uiCeOc80Dc,1418
6
6
  anemone/tree_and_value_branch_selector.py,sha256=9m7cWzw_nsFKiqZ4l7B2fz0lZ9HZ2NUNH2flZpaaQvQ,3479
7
7
  anemone/tree_exploration.py,sha256=cg1iTp3j9p9jUNjm07ogbflX8VC15AV8GEhGz3g1YNU,10529
@@ -22,7 +22,7 @@ anemone/node_evaluation/node_tree_evaluation/node_minmax_evaluation.py,sha256=Ju
22
22
  anemone/node_evaluation/node_tree_evaluation/node_tree_evaluation.py,sha256=fHAKN_8vriERrfKfr_qDH-y7El6HBYFXHOe9eFFCDUw,4260
23
23
  anemone/node_evaluation/node_tree_evaluation/node_tree_evaluation_factory.py,sha256=UY1glqflqMOqOPAHhtuzJ8QhGOp55Y9InqdhCMt9KJ8,1279
24
24
  anemone/node_factory/__init__.py,sha256=qhbX58hu8-TdFof5zo3ibfPFvF-OWNSgJf3RDMrtyTQ,553
25
- anemone/node_factory/algorithm_node_factory.py,sha256=_cMxmmZUFM4huAss-wGIiUx5xVvO4SmUKRipQY1q7MI,4167
25
+ anemone/node_factory/algorithm_node_factory.py,sha256=xqa0d2ulkTsGJIbb5KMxWB5yxcFUton9TeBiYwObR1o,4106
26
26
  anemone/node_factory/base.py,sha256=t_immiv-BDrPeQTUiOqvZLSlUq0zA2IbnM5Rweqv_n8,2134
27
27
  anemone/node_selector/__init__.py,sha256=DThR5UV-4WZG4PT5Lo0RPv9_P83ixFGfOSFoGihKtuA,1320
28
28
  anemone/node_selector/branch_explorer.py,sha256=3ywYkJe2R1Dg5nhmDXCgyhex85bT39Ql7ifRY--9Z_A,2677
@@ -76,7 +76,7 @@ anemone/utils/dict_of_numbered_dict_with_pointer_on_max.py,sha256=s5Z-O5mBwJUh4P
76
76
  anemone/utils/logger.py,sha256=bJQ8COqdn5obtbi8TuokQHmdHpp57XRksTmfvCLLfyM,2973
77
77
  anemone/utils/my_value_sorted_dict.py,sha256=LbqtpBSCS7VrUTUChWCsi18IKZj65FkTJREqbl-xSVA,619
78
78
  anemone/utils/small_tools.py,sha256=l9dy5Oqvuvg8qQXqJUfyb3uwBHwVGVrKz6WeTHjyLTk,2766
79
- algorhino_anemone-0.1.7.dist-info/METADATA,sha256=KkCLSdPOOCqH_Li7VkFupPWwN-PSYDfx2jQQfvPV280,5691
80
- algorhino_anemone-0.1.7.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
81
- algorhino_anemone-0.1.7.dist-info/top_level.txt,sha256=G1vbB-vAevQVde3UZ5X1_Ysy1_6sJDEueHRi2qcDgrY,8
82
- algorhino_anemone-0.1.7.dist-info/RECORD,,
79
+ algorhino_anemone-0.1.9.dist-info/METADATA,sha256=qqp9hJxlMYL6l1UsW_ahurX6rslDBGXvjHwWidw7dWA,5692
80
+ algorhino_anemone-0.1.9.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
81
+ algorhino_anemone-0.1.9.dist-info/top_level.txt,sha256=G1vbB-vAevQVde3UZ5X1_Ysy1_6sJDEueHRi2qcDgrY,8
82
+ algorhino_anemone-0.1.9.dist-info/RECORD,,
anemone/factory.py CHANGED
@@ -8,7 +8,6 @@ from random import Random
8
8
  from typing import Literal, Type
9
9
 
10
10
  from valanga import (
11
- ContentRepresentation,
12
11
  RepresentationFactory,
13
12
  StateModifications,
14
13
  TurnState,
@@ -63,7 +62,7 @@ def create_tree_and_value_branch_selector[StateT: TurnState](
63
62
  random_generator: Random,
64
63
  master_state_evaluator: MasterStateEvaluator,
65
64
  state_representation_factory: RepresentationFactory[
66
- StateT, StateModifications, ContentRepresentation[StateT, EvaluatorInput]
65
+ StateT, StateModifications, EvaluatorInput
67
66
  ]
68
67
  | None,
69
68
  queue_progress_player: Queue[IsDataclass] | None,
@@ -95,7 +94,7 @@ def create_tree_and_value_branch_selector_with_tree_eval_factory[StateT: TurnSta
95
94
  random_generator: Random,
96
95
  master_state_evaluator: MasterStateEvaluator,
97
96
  state_representation_factory: RepresentationFactory[
98
- StateT, StateModifications, ContentRepresentation[StateT, EvaluatorInput]
97
+ StateT, StateModifications, EvaluatorInput
99
98
  ]
100
99
  | None,
101
100
  node_tree_evaluation_factory: NodeTreeEvaluationFactory[StateT],
@@ -39,10 +39,7 @@ class AlgorithmNodeFactory[StateT: State = State]:
39
39
 
40
40
  tree_node_factory: TreeNodeFactory[AlgorithmNode[StateT], StateT]
41
41
  state_representation_factory: (
42
- RepresentationFactory[
43
- StateT, StateModifications, ContentRepresentation[StateT, EvaluatorInput]
44
- ]
45
- | None
42
+ RepresentationFactory[StateT, StateModifications, EvaluatorInput] | None
46
43
  )
47
44
  node_tree_evaluation_factory: NodeTreeEvaluationFactory[StateT]
48
45
  exploration_index_data_create: node_indices.ExplorationIndexDataFactory[