Show more information when ID search finish
This commit is contained in:
parent
5cfd2ce404
commit
3d3f757f41
1 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue