mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Rescale UCI parameters to 100
And correspondingly modify internal ones to compensate it. No functional change.
This commit is contained in:
parent
2a5ae34bb2
commit
9498b2af82
2 changed files with 6 additions and 6 deletions
|
@ -88,7 +88,7 @@ namespace {
|
||||||
//
|
//
|
||||||
// Values modified by Joona Kiiski
|
// Values modified by Joona Kiiski
|
||||||
const Score WeightsInternal[] = {
|
const Score WeightsInternal[] = {
|
||||||
S(252, 344), S(216, 266), S(46, 0), S(247, 0), S(259, 0)
|
S(289, 344), S(221, 273), S(46, 0), S(271, 0), S(307, 0)
|
||||||
};
|
};
|
||||||
|
|
||||||
// MobilityBonus[PieceType][attacked] contains mobility bonuses for middle and
|
// MobilityBonus[PieceType][attacked] contains mobility bonuses for middle and
|
||||||
|
|
|
@ -65,13 +65,13 @@ void init(OptionsMap& o) {
|
||||||
o["Book File"] = Option("book.bin");
|
o["Book File"] = Option("book.bin");
|
||||||
o["Best Book Move"] = Option(false);
|
o["Best Book Move"] = Option(false);
|
||||||
o["Contempt Factor"] = Option(0, -50, 50);
|
o["Contempt Factor"] = Option(0, -50, 50);
|
||||||
o["Mobility (Middle Game)"] = Option(115, 0, 200, on_eval);
|
o["Mobility (Middle Game)"] = Option(100, 0, 200, on_eval);
|
||||||
o["Mobility (Endgame)"] = Option(100, 0, 200, on_eval);
|
o["Mobility (Endgame)"] = Option(100, 0, 200, on_eval);
|
||||||
o["Passed Pawns (Middle Game)"] = Option(103, 0, 200, on_eval);
|
o["Passed Pawns (Middle Game)"] = Option(100, 0, 200, on_eval);
|
||||||
o["Passed Pawns (Endgame)"] = Option(103, 0, 200, on_eval);
|
o["Passed Pawns (Endgame)"] = Option(100, 0, 200, on_eval);
|
||||||
o["Space"] = Option(100, 0, 200, on_eval);
|
o["Space"] = Option(100, 0, 200, on_eval);
|
||||||
o["Aggressiveness"] = Option(119, 0, 200, on_eval);
|
o["Aggressiveness"] = Option(100, 0, 200, on_eval);
|
||||||
o["Cowardice"] = Option(110, 0, 200, on_eval);
|
o["Cowardice"] = Option(100, 0, 200, on_eval);
|
||||||
o["Min Split Depth"] = Option(msd, 4, 12, on_threads);
|
o["Min Split Depth"] = Option(msd, 4, 12, on_threads);
|
||||||
o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads);
|
o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads);
|
||||||
o["Threads"] = Option(cpus, 1, MAX_THREADS, on_threads);
|
o["Threads"] = Option(cpus, 1, MAX_THREADS, on_threads);
|
||||||
|
|
Loading…
Add table
Reference in a new issue