Add depth based time limit

This commit is contained in:
stefiosif
2025-01-27 22:20:45 +02:00
parent a01310c7b7
commit b4f61f6504
4 changed files with 12 additions and 8 deletions

View File

@@ -9,6 +9,6 @@ pub mod transposition_table;
pub const MAX_DEPTH: u8 = 50;
pub const TIME: u128 = 1000;
pub const INC: u128 = 1000;
pub const HARD_LIMIT_DIVISION: u128 = 10;
pub const SOFT_LIMIT_DIVISION: u128 = HARD_LIMIT_DIVISION * 2;
pub const MAX_TT_SIZE: u64 = 750000;
pub const HARD_LIMIT_DIVISION: u128 = 3;
pub const SOFT_LIMIT_DIVISION: u128 = 20;
pub const MAX_TT_SIZE: u64 = 3000000;