Remove tt cutoffs, fix capture move sorting, refactor
This commit is contained in:
@@ -10,10 +10,10 @@ pub mod transposition_table;
|
||||
|
||||
pub const MAX_DEPTH: u8 = 7;
|
||||
pub const REMAINING_TIME_DEFAULT: u128 = 100000; // in ms
|
||||
pub const HARD_LIMIT_DIVISION: u128 = 10;
|
||||
pub const SOFT_LIMIT_DIVISION: u128 = 20;
|
||||
pub const HARD_LIMIT_DIVISION: u128 = 10; // % of the remaining time
|
||||
pub const SOFT_LIMIT_DIVISION: u128 = HARD_LIMIT_DIVISION / 2;
|
||||
pub const SOFT_EVAL_THRESHOLD: i32 = 500;
|
||||
pub const MAX_TT_SIZE: u64 = 2000000;
|
||||
pub const MAX_TT_SIZE: u64 = 1000000;
|
||||
|
||||
pub struct SearchResult {
|
||||
pub best_move: Option<Move>,
|
||||
|
||||
Reference in New Issue
Block a user