1
0
Fork 0

Increase MultiPV to 5 with Skill

When playing with strength handicap we use MultiPV search
to retrieve a set of possible moves.

This patch increase default multi PV search to 5 from 4 so
to consider a wider set of possible move.

We expect to lower strength because an extra weaker move enters
the set.

This patch is aprerequisite for further work.

No functional change.
pull/3777/head
xefoci7612 2021-11-03 10:50:51 +01:00
parent 80a26f946f
commit 01fa5a494c
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ void Thread::search() {
// When playing with strength handicap enable MultiPV search that we will
// use behind the scenes to retrieve a set of possible moves.
if (skill.enabled())
multiPV = std::max(multiPV, (size_t)4);
multiPV = std::max(multiPV, (size_t)5);
multiPV = std::min(multiPV, rootMoves.size());