Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The purpose of re-search in gensfen on search_depth <= 0 #121

Closed
Sopel97 opened this issue Sep 13, 2020 · 1 comment
Closed

The purpose of re-search in gensfen on search_depth <= 0 #121

Sopel97 opened this issue Sep 13, 2020 · 1 comment

Comments

@Sopel97
Copy link

Sopel97 commented Sep 13, 2020

I was looking at the learning code ported to stockfish, and I was wondering what the purpose of https://github.com/yaneurao/YaneuraOu/blob/master/source/learn/learner.cpp#L644-L648 is and whether it could be replaced by simply clamping search_depth to always be positive?

@yaneurao
Copy link
Owner

We wanted to set the search depth to 0 (for qsearches only) or negative (for special qsearches only) for our experiments, so the code assumes that the depth is non-positive.

But it's not a code that makes much sense nowadays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants