Skip to content

Commit

Permalink
Improve evaluation parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Tearth committed Nov 25, 2024
1 parent 8e5cb76 commit ebde22e
Show file tree
Hide file tree
Showing 7 changed files with 1,690 additions and 1,690 deletions.
22 changes: 11 additions & 11 deletions src/evaluation/params.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// ------------------------------------------------------------------------- //
// Generated at 21-11-2024 07:47:21 UTC (e = 0.112638, k = 0.0077, r = 1.00) //
// Generated at 24-11-2024 15:06:24 UTC (e = 0.130552, k = 0.0077, r = 1.00) //
// ------------------------------------------------------------------------- //

use super::*;

pub const BISHOP_PAIR: PackedEval = s!(24, 60);
pub const MOBILITY_INNER: [PackedEval; 6] = [s!(0, 0), s!(11, 3), s!(10, 13), s!(11, 3), s!(4, 8), s!(0, 0)];
pub const MOBILITY_OUTER: [PackedEval; 6] = [s!(0, 0), s!(3, 2), s!(3, 2), s!(5, 2), s!(2, 3), s!(0, 0)];
pub const DOUBLED_PAWN: [PackedEval; 8] = [s!(-1, -3), s!(-14, -17), s!(-23, -36), s!(-58, -59), s!(-22, -39), s!(0, 0), s!(0, 0), s!(0, 0)];
pub const ISOLATED_PAWN: [PackedEval; 8] = [s!(-1, -8), s!(-13, -19), s!(-24, -33), s!(-37, -39), s!(-31, -59), s!(0, 0), s!(0, 0), s!(0, 0)];
pub const CHAINED_PAWN: [PackedEval; 8] = [s!(-2, 7), s!(9, 9), s!(18, 17), s!(27, 30), s!(33, 46), s!(39, 59), s!(47, 44), s!(17, 18)];
pub const PASSED_PAWN: [PackedEval; 8] = [s!(17, -33), s!(22, 11), s!(21, 55), s!(29, 66), s!(27, 53), s!(25, 42), s!(25, 13), s!(37, 26)];
pub const PAWN_SHIELD: [PackedEval; 8] = [s!(12, 12), s!(20, 14), s!(23, 15), s!(20, 19), s!(48, 28), s!(19, 20), s!(0, 0), s!(0, 0)];
pub const PAWN_SHIELD_OPEN_FILE: [PackedEval; 8] = [s!(-21, -17), s!(-22, -18), s!(-28, -20), s!(-33, -30), s!(0, 0), s!(0, 0), s!(0, 0), s!(0, 0)];
pub const KING_AREA_THREATS: [PackedEval; 8] = [s!(-68, 41), s!(-69, 40), s!(-60, 37), s!(-37, 32), s!(4, 16), s!(52, -2), s!(104, -24), s!(180, -51)];
pub const BISHOP_PAIR: PackedEval = s!(18, 53);
pub const MOBILITY_INNER: [PackedEval; 6] = [s!(0, 0), s!(11, 0), s!(9, 12), s!(10, 1), s!(4, 7), s!(0, 0)];
pub const MOBILITY_OUTER: [PackedEval; 6] = [s!(0, 0), s!(3, 0), s!(3, 0), s!(5, 0), s!(2, 0), s!(0, 0)];
pub const DOUBLED_PAWN: [PackedEval; 8] = [s!(-4, -9), s!(-16, -18), s!(-22, -39), s!(-53, -49), s!(-22, -39), s!(0, 0), s!(0, 0), s!(0, 0)];
pub const ISOLATED_PAWN: [PackedEval; 8] = [s!(-4, -12), s!(-14, -21), s!(-23, -31), s!(-32, -38), s!(-33, -55), s!(0, 0), s!(0, 0), s!(0, 0)];
pub const CHAINED_PAWN: [PackedEval; 8] = [s!(3, 5), s!(12, 9), s!(19, 18), s!(25, 31), s!(31, 47), s!(38, 59), s!(43, 42), s!(0, 0)];
pub const PASSED_PAWN: [PackedEval; 8] = [s!(11, -36), s!(16, 15), s!(19, 56), s!(30, 61), s!(43, 54), s!(22, 41), s!(25, 14), s!(37, 26)];
pub const PAWN_SHIELD: [PackedEval; 8] = [s!(0, 13), s!(13, 18), s!(21, 21), s!(21, 19), s!(67, 15), s!(20, 21), s!(0, 0), s!(0, 0)];
pub const PAWN_SHIELD_OPEN_FILE: [PackedEval; 8] = [s!(-20, -23), s!(-21, -20), s!(-28, -19), s!(-35, -24), s!(0, 0), s!(0, 0), s!(0, 0), s!(0, 0)];
pub const KING_AREA_THREATS: [PackedEval; 8] = [s!(-63, 47), s!(-64, 42), s!(-56, 39), s!(-37, 35), s!(1, 14), s!(49, -4), s!(95, -24), s!(180, -61)];
634 changes: 317 additions & 317 deletions src/evaluation/pst/bishop.rs

Large diffs are not rendered by default.

446 changes: 223 additions & 223 deletions src/evaluation/pst/king.rs

Large diffs are not rendered by default.

634 changes: 317 additions & 317 deletions src/evaluation/pst/knight.rs

Large diffs are not rendered by default.

386 changes: 193 additions & 193 deletions src/evaluation/pst/pawn.rs

Large diffs are not rendered by default.

624 changes: 312 additions & 312 deletions src/evaluation/pst/queen.rs

Large diffs are not rendered by default.

634 changes: 317 additions & 317 deletions src/evaluation/pst/rook.rs

Large diffs are not rendered by default.

0 comments on commit ebde22e

Please sign in to comment.