replace lazy_children system

This commit is contained in:
2025-02-25 16:36:34 -05:00
parent 155a8d0548
commit 2d066a6a3c
2 changed files with 58 additions and 66 deletions

View File

@@ -12,11 +12,10 @@ pub struct ComplexAgent {
#[allow(dead_code)]
impl ComplexAgent {
pub const fn new(color: Piece) -> Self {
const MAX_DEPTH: usize = 10;
const NON_LAZY_DEPTH: usize = 3;
const MAX_DEPTH: usize = 9;
Self {
color,
future_moves: FutureMoves::new(color, MAX_DEPTH, NON_LAZY_DEPTH),
future_moves: FutureMoves::new(color, MAX_DEPTH),
}
}
}