![]() |
LaMoSca v0.10Quiescence |
ObjectiveIn this version of the program the search depth in the tree of moves becomes variable, so that the analysis stops in stable positions and the horizon effect is removed. The codeSearching for the best variation in the tree of moves with a fixed search depth is exposed to the "horizon effect": a position is misjudged because the moves immediately after those examined have not been considered. This is especially true when a sequence of captures is cut short. In that case the evaluation of the position is distorted by the temporary material imbalance between the two sides, which lasts until the whole sequence of captures is completed. After analysing the tree to the desired depth, therefore, the search should continue along the branches corresponding to captures until all the captures are over (quiescence) or until a second maximum search depth is reached. One way to implement this "reduced" search is to change move generation so that only the moves corresponding to captures are saved on the stack (possibly together with promotions, escapes from check, ...), and then to continue the search with the usual algorithms. Running the programThe log file for the program's opening shows the following moves ("Livelli" means levels, "Risultato" result):
LaMoSca v0.10 Log File - Livelli=4 You can see that, when there is a capture, the analysis continues to deeper levels. |
DownloadTo be completed
To do
|
Links |
| Back | Index | Next |