Skip to content

Commit 9498b2a

Browse files
committed
Rescale UCI parameters to 100
And correspondingly modify internal ones to compensate it. No functional change.
1 parent 2a5ae34 commit 9498b2a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/evaluate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ namespace {
8888
//
8989
// Values modified by Joona Kiiski
9090
const Score WeightsInternal[] = {
91-
S(252, 344), S(216, 266), S(46, 0), S(247, 0), S(259, 0)
91+
S(289, 344), S(221, 273), S(46, 0), S(271, 0), S(307, 0)
9292
};
9393

9494
// MobilityBonus[PieceType][attacked] contains mobility bonuses for middle and

src/ucioption.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ void init(OptionsMap& o) {
6565
o["Book File"] = Option("book.bin");
6666
o["Best Book Move"] = Option(false);
6767
o["Contempt Factor"] = Option(0, -50, 50);
68-
o["Mobility (Middle Game)"] = Option(115, 0, 200, on_eval);
68+
o["Mobility (Middle Game)"] = Option(100, 0, 200, on_eval);
6969
o["Mobility (Endgame)"] = Option(100, 0, 200, on_eval);
70-
o["Passed Pawns (Middle Game)"] = Option(103, 0, 200, on_eval);
71-
o["Passed Pawns (Endgame)"] = Option(103, 0, 200, on_eval);
70+
o["Passed Pawns (Middle Game)"] = Option(100, 0, 200, on_eval);
71+
o["Passed Pawns (Endgame)"] = Option(100, 0, 200, on_eval);
7272
o["Space"] = Option(100, 0, 200, on_eval);
73-
o["Aggressiveness"] = Option(119, 0, 200, on_eval);
74-
o["Cowardice"] = Option(110, 0, 200, on_eval);
73+
o["Aggressiveness"] = Option(100, 0, 200, on_eval);
74+
o["Cowardice"] = Option(100, 0, 200, on_eval);
7575
o["Min Split Depth"] = Option(msd, 4, 12, on_threads);
7676
o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads);
7777
o["Threads"] = Option(cpus, 1, MAX_THREADS, on_threads);

0 commit comments

Comments
 (0)