Hi all,
I estimate the bookkeeping time of my engine, i.e., time spent in tasks other than eval, in the following way:
Let f1 be the nps in middlegame with normal eval and f2 the nps in middle game with a very simple eval returning just the material difference. Then f1/f2 is the fraction of time spent in bookkeeping and may be taken as a measure of inefficiency. Will some knowledgable member comment on the usefulness of this measure? Has anyone found this for crafty?
P.K.Mukhopadhyay
Bookkeeping time of engine
Moderator: Ras
-
- Posts: 3562
- Joined: Thu Mar 09, 2006 3:54 am
- Location: San Jose, California
Re: Bookkeeping time of engine
A question for you.
1. Do you scan the entire board when counting all the pieces to calculate the material difference or
2. Do you take the total values of both black and white at the begining of the game and then only update the difference when a capture is made?
If you do the latter then the least amount of time is spent calculating the material difference as it is done on the fly.
Bill
1. Do you scan the entire board when counting all the pieces to calculate the material difference or
2. Do you take the total values of both black and white at the begining of the game and then only update the difference when a capture is made?
If you do the latter then the least amount of time is spent calculating the material difference as it is done on the fly.
Bill
Re: Bookkeeping time of engine
The second option is used, so simple eval takes practically no time.Bill Rogers wrote:A question for you.
1. Do you scan the entire board when counting all the pieces to calculate the material difference or
2. Do you take the total values of both black and white at the begining of the game and then only update the difference when a capture is made?
If you do the latter then the least amount of time is spent calculating the material difference as it is done on the fly.
Bill
P.K.Mukhopadhyay