Your Java engine's speed seems pretty reasonable to me on one CPU.
There are various ways engines count nodes and report nps, and many ways to report depth also.
In the end, nps and depth are really only meaningful to you once you develop a sense of how your engine performs.
One way is to simply ...
Search found 17 matches
- Tue Feb 16, 2021 2:51 am
- Forum: Programming and Technical Discussions
- Topic: What is the reasonable NPS?
- Replies: 1
- Views: 5643
- Mon Nov 16, 2020 9:54 pm
- Forum: Programming and Technical Discussions
- Topic: Diagonal bitmaps
- Replies: 1
- Views: 5549
Re: Diagonal bitmaps
If you have not looked here yet, there is a huge amount of info
https://www.chessprogramming.org/Main_Page
https://www.chessprogramming.org/Main_Page
- Fri Aug 21, 2020 1:17 am
- Forum: Programming and Technical Discussions
- Topic: alpha beta window
- Replies: 3
- Views: 5973
Re: alpha beta window
The idea is that if the current side to move cannot improve it's score by making two moves in a row, then things must be really bad, so this line gets pruned.
Also, follow the links for the zero window bounds or search to understand the "null window" for alpha and beta.
For an example, suggest ...
Also, follow the links for the zero window bounds or search to understand the "null window" for alpha and beta.
For an example, suggest ...
- Wed Aug 19, 2020 1:32 pm
- Forum: Programming and Technical Discussions
- Topic: alpha beta window
- Replies: 3
- Views: 5973
- Tue Jul 07, 2020 11:03 am
- Forum: Programming and Technical Discussions
- Topic: Sorting moves by sub tree size speeds up alphabeta search considerably
- Replies: 4
- Views: 9271
Re: Sorting moves by sub tree size speeds up alphabeta search considerably
Yes.
But every engine is different.
I tried Crafty's approach in Tinker and it did not seem to help.
So, again, try it and see.
But every engine is different.
I tried Crafty's approach in Tinker and it did not seem to help.
So, again, try it and see.
- Thu May 28, 2020 4:25 pm
- Forum: Programming and Technical Discussions
- Topic: Sorting moves by sub tree size speeds up alphabeta search considerably
- Replies: 4
- Views: 9271
Re: Sorting moves by sub tree size speeds up alphabeta search considerably
An interesting idea.
The only way to really know is to play some matches.
This is particularly the case for search-related changes, where speed and depth differences do not always result in better play.
For evaluation changes, generally faster is typically better.
The only way to really know is to play some matches.
This is particularly the case for search-related changes, where speed and depth differences do not always result in better play.
For evaluation changes, generally faster is typically better.
- Sun Jul 21, 2019 11:57 am
- Forum: General Topics
- Topic: New member with basic question
- Replies: 2
- Views: 17350
Re: New member with basic question
All engines with parallel search have some randomness.
All timed searches also have randomness.
Single thread engines searching a fixed number of nodes should always be the same.
I don't think randomness has anything to do with finding mates.
There are engines like matefinder that are coded ...
All timed searches also have randomness.
Single thread engines searching a fixed number of nodes should always be the same.
I don't think randomness has anything to do with finding mates.
There are engines like matefinder that are coded ...
- Wed Mar 27, 2019 2:21 pm
- Forum: Programming and Technical Discussions
- Topic: Evalution or Alpha Beta problem
- Replies: 7
- Views: 11912
Re: Evalution or Alpha Beta problem
The FENs are easy. Each of the 4 positions in a set should have the same static evaluation score, or there is a bug in your eval code.
Q-search is needed because the engine will play terrible chess if you leave pieces hanging to be captured at the leaves of the regular search. Q-search follows ...
Q-search is needed because the engine will play terrible chess if you leave pieces hanging to be captured at the leaves of the regular search. Q-search follows ...
- Sat Mar 04, 2017 4:58 pm
- Forum: Programming and Technical Discussions
- Topic: Help writing simple evaluation function please.
- Replies: 9
- Views: 11685
- Sun Feb 12, 2017 5:04 pm
- Forum: Programming and Technical Discussions
- Topic: Getting rid of for loops?
- Replies: 12
- Views: 13854
Re: Getting rid of for loops?
Sorry, I meant letting the compiler unroll the loops Debug v Release.
And, then compiler unrolled Release v manually unrolled Release for same Perft depths.
And, then compiler unrolled Release v manually unrolled Release for same Perft depths.