Reworked posterior calculation in baysianMCTS

This commit is contained in:
DarkCider
2024-02-01 13:06:22 +01:00
parent 8d3325ee98
commit db8f4e3e6f
2 changed files with 19 additions and 8 deletions

View File

@@ -77,8 +77,8 @@ class EngineFactory:
return ClassicMctsEngine(chess.Board(), color, strategy)
@staticmethod
def classic_mcts_v2(color: chess.Color, strategy: IStrategy, board: chess.Board | None = chess.Board()) -> Engine:
return ClassicMctsEngineV2(board, color, strategy)
def classic_mcts_v2(color: chess.Color, strategy: IStrategy) -> Engine:
return ClassicMctsEngineV2(chess.Board(), color, strategy)
@staticmethod
def _get_random_strategy(rollout_depth: int) -> IStrategy: