Tord Romstad wrote:H.G.Muller wrote:So if people use mobility nowadays, do they weight the contribution of various pieces differently to prevent such behavior?
Yes, I am pretty sure everybody does this. In general, the minor pieces are weighted higher than the major pieces. The queen is often omitted completely (personally I do evaluate queen mobility, but I have never been able to prove that it works). Many programmers also use different weights depending on the phase of the game.
It is also quite common to use non-linear scales when evaluating mobility. When computing the mobility bonus for a piece, you don't just take the number of squares it attacks and multiply it with some constant, but instead use the number as an index to a small lookup table.
Tord
non linear scales is the only thing that I use now in evaluating mobility
I do not use different weights for different pieces and I evaluate mobility also for king and pawns.
I am going to change to weigh higher the major pieces if I find something that works for me.
The reason that I divide the evaluation when the number of pieces is small is because I consider very small number of moves as very bad.
The history reason for doing it is because of a game in WBEC that showed me the problem.
When I think about it
I count king and pawns moves so dividing the evaluation in endgames really help to get closer to the real value of mobility of other programs that do not count king moves and pawn moves but I am sure that it is not the best solution.
[Event "WBEC3_3rdDivision"]
[Site "DUAL-P3-933"]
[Date "2002.09.03"]
[Round "16.2"]
[White "Movei 0.0.72h"]
[Black "SseChess 2.04.5"]
[Result "1/2-1/2"]
[PlyCount "190"]
[EventDate "2002.??.??"]
[TimeControl "40/2400:0"]
1. d4 d5 2. Nc3 Nf6 3. Bg5 Bf5 4. e3 Nbd7 5. Bd3 Bxd3 6. Qxd3 e6 7. Nf3 Be7 8.
Bxf6 Bxf6 9. e4 c6 10. O-O O-O 11. Rfe1 Nb6 12. a4 Rc8 13. e5 Be7 14. b3 c5 15.
a5 Nd7 16. Qd2 Nb8 17. dxc5 Bxc5 18. Na4 Be7 19. Nb2 Na6 20. Nd3 Qc7 21. Nd4
Rfd8 22. Ra2 h6 23. g4 Nc5 24. Nxc5 Bxc5 25. f3 Bxd4+ 26. Qxd4 Qc3 27. Qf2 Rc6
28. Re3 Qd4 29. Re1 Qxf2+ 30. Kxf2 Rdc8 31. Re2 Kh8 32. f4 Kg8 33. Ke3 Rc3+ 34.
Kd2 Rf3 35. Ra4 Rc6 36. g5 hxg5 37. fxg5 Rh3 38. Rf2 Rhc3 39. Ra2 R3c5 40. h4
Ra6 41. b4 Rb5 42. c3 Rc6 43. Kd3 Rc4 44. h5 Rg4 45. Rg2 Re4 46. Rae2 Rh4 47.
Rh2 Rg4 48. Reg2 Re4 49. h6 Rxe5 50. Rf2 Rf5 51. Rxf5 exf5 52. Rf2 gxh6 53.
gxh6 Kh7 54. Rxf5 Kxh6 55. Rxf7 Kg6 56. Rf8 Kg7 57. Rf5 Kg6 58. Re5 Kf6 59. Kd4
a6 60. Rxd5 Rxd5+ 61. Kxd5 Ke7 62. c4 Kd7 63. b5 axb5 64. cxb5 Kc7 65. b6+ Kd7
66. Kc5 Kc8 67. Kd6 Kb8 68. Kd7 Ka8 69. Ke6 Kb8 70. Kf6 Kc8 71. Ke7 Kb8 72. Kd8
Ka8 73. Kd7 Kb8 74. Kd6 Kc8 75. Kc5 Kd7 76. Kb5 Kc8 77. Kb4 Kb8 78. Kb3 Kc8 79.
Ka4 Kb8 80. Kb4 Kc8 81. Kb3 Kd7 82. Ka4 Kc8 83. Kb5 Kb8 84. a6 bxa6+ 85. Kxa6
Ka8 86. Ka5 Kb8 87. Kb4 Kb7 88. Kb5 Kb8 89. Kc6 Kc8 90. Kd5 Kb7 91. Kc5 Kb8 92.
Kb5 Kb7 93. Ka5 Kb8 94. Ka4 Kb7 95. Kb3 Kxb6 {Insufficient mating material}
1/2-1/2
Movei missed a win by 63.c5 and when I analyzed the game I found that movei had enough search depth to see that 63.c5 wins a pawn but evaluated that it is better to win some mobility by pushing the black king into the corner by 63.b5 when black has later only a single move(Ka8-b8) that was considered by movei as very bad(only legal king moves are counted so Ka8-a7 of course was not counted).
Uri