]> git.sesse.net Git - stockfish/commitdiff
New formula for quiet move scoring: 3 * cmh + 1 * hist
authormstembera <MissingEmail@email>
Fri, 10 Apr 2015 19:09:45 +0000 (20:09 +0100)
committerJoona Kiiski <joona.kiiski@gmail.com>
Fri, 10 Apr 2015 19:14:11 +0000 (20:14 +0100)
STC

LLR: 2.97 (-2.94,2.94) [-1.50,4.50]
Total: 45363 W: 8759 L: 8532 D: 28072

LTC

LLR: 3.51 (-2.94,2.94) [0.00,4.00]
Total: 125092 W: 20032 L: 19468 D: 85592

Bench: 7058819

Resolves #328

src/movepick.cpp

index f7b7f42673d2a0405580848faa25845ed3a010c5..face865af823be4309803b19faf61b5782447a26 100644 (file)
@@ -167,7 +167,7 @@ void MovePicker::score<QUIETS>() {
 
   for (auto& m : *this)
       m.value =  history[pos.moved_piece(m)][to_sq(m)]
 
   for (auto& m : *this)
       m.value =  history[pos.moved_piece(m)][to_sq(m)]
-               + cmh[pos.moved_piece(m)][to_sq(m)];
+               + cmh[pos.moved_piece(m)][to_sq(m)] * 3;
 }
 
 template<>
 }
 
 template<>