From 3d3f757f417bba93dc4f8501a0990b5300296d0e Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 21 Dec 2023 22:07:56 +0100 Subject: [PATCH] Show more information when ID search finish --- src/classes/Engines.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/classes/Engines.py b/src/classes/Engines.py index 50dfde3..ef92c94 100644 --- a/src/classes/Engines.py +++ b/src/classes/Engines.py @@ -334,9 +334,11 @@ class MinmaxDeepeningPlayerEngine(MinmaxPlayerEngine): move = current_move depth = depth + 1 - self.logger.debug("id_minmax - depth reached: {} | max depth : {}".format( + + self.logger.info("Iterative Minmax - depth: {}/{} | heuristic: {}".format( depth - 1, - max_depth + max_depth, + heuristic )) return move @@ -380,9 +382,10 @@ class AlphaBetaDeepeningPlayerEngine(AlphabetaPlayerEngine): move = current_move depth = depth + 1 - self.logger.debug("id_minmax - depth reached: {} | max depth : {}".format( + self.logger.info("Iterative Alphabeta - depth: {}/{} | heuristic: {}".format( depth - 1, - max_depth + max_depth, + heuristic )) return move