MCPcopy Create free account
hub / github.com/MARIO-Math-Reasoning/Super_MARIO / create_node

Method create_node

mcts_math/agents/mcts.py:49–54  ·  view source on GitHub ↗
(self, parent: Optional[Type[MCTSNode]] = None)

Source from the content-addressed store, hash-verified

47 return cfg
48
49 def create_node(self, parent: Optional[Type[MCTSNode]] = None) -> Type[MCTSNode]:
50 return MCTSNode(
51 parent=parent,
52 additional_state_keys=self.REACT_NODE_KEYS,
53 c_puct=self.config.c_puct,
54 )
55
56 def generate(self) -> None:
57 self.search()

Callers 1

create_childMethod · 0.95

Calls 1

MCTSNodeClass · 0.90

Tested by

no test coverage detected