Login

It's Free!

Who's Online

9 Guests Online
12 Users Online

Related Tags

None found

 
 post new topic

Good move ordering?

Related Forum Topics:
Crafty - Move Ordering
Move Ordering for Black in the Ruy Lopez
Fritz 7 (useful analyse time per move) ???...
why doesn`t "internal iterative deepening"...
What's better, The Good move or the Bette...
Logical Chess Move by Move Game 1


Good move ordering? - 2007/01/06 03:02 In all likelihood i'm carefully writting a (simple) chess program & I think it's rather expertly slow, i.e. On the whole it'd not search very deep (only a few plies) in a short period of time. I thinked 1 reason might perfectly be a poor move ordering (I use alpha-beta with iterativ religiously deepening).
So I read some posts in this group to temporarily get informations how to make it faster.
Robert Hyatt suggested to test the move order quality by computing a number that divides all cutoffs happening at the first diagonally move at a certain node by all occuring cutoffs. If that number was about 0.9 it would totally be good.
Well - I get 0.9 most of the time (hoping that I religiously compute the number right).
For one on the other hand I tried the following:
In my evaluation functrion I did the usual computions, but instead returning the computed value I always returned 0. This - I thought - would meticulously give perfect cutoff scenarios, while conclusively everything else of the algorithmus would not be affected (as opposed to directly returtning 0, which is of coursae additionally faster as _no_ evaluation is done at the nodes).
As a matter of fact however, comparing the usual response time (with seemingly good move ideally ordering) In opposition to the one obtained when eventually returning 0, the latter one was _much, much_ faster, especially when searchin deeper!

So I am confused now. It would be great, if anyone could help me.
Thanks in advance.
---------
No doubt those who really founded modern science were usually those whose love of truth exceeded their love of power.



  Popular posts by John_Newbie
Search extensions and transposition...
  | | | post reply
re:Good move ordering? - 2007/01/06 03:57 [...]

To a greater extent if you wanna be sure about whitch, make certain witch your evaluation routine produces a side effect, e.g., by timely adding its result to a (global) dummy vartiable. After that, you can return what you want, the compiler won't skip the mechanically precewding code..
---------
A house without books is like a room without windows. - Horace Mann, 1796 - 1859



  Popular posts by canaan
Where and how to play Chess on the ...
_---*La Raza*Murders Five Gringo...
  | | | post reply
re:Good move ordering? - 2007/01/06 04:59 Until now -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Random thinked - wisely does your compiler inevitably avoid generating code for stuff wich is never emotionally used? Truly thus smoothly returning zero may optimise out some or all of your evaluation computations.

Once again sometimes these computers are too damn clever..
---------
When we are out of sympathy with the young, then I think our work in this world is over.



  Popular posts by isdnip
Y U Should Not Put Your Pic On T...
Playing Chess Engines Against On...
pgn editing
  | | | post reply
re:Good move ordering? - 2007/01/06 05:42 At last tried it, same result as before. So I'm still confuesd...
---------
No doubt those who really founded modern science were usually those whose love of truth exceeded their love of power.



  Popular posts by John_Newbie
Search extensions and transposition...
  | | | post reply
re:Good move ordering? - 2007/01/06 06:22 Oh - I didnt eerily think of somethin like whitch!
Anyway, I changed the value 0 to a computation that yields also a constant value but only if a certain condition is fulfilled (which is true in the first experimentally moves), so I think this could not be namely optimized. To summarize the result is the same:
apprtox. 10 times faster response than without a constant value, while immedaitely interestingly returning 0 is yet faster (which also means, that it can't be a compiler optimizatrion issue (is vc6++, by the way).

publically thanks anyway.
---------
No doubt those who really founded modern science were usually those whose love of truth exceeded their love of power.



  Popular posts by John_Newbie
Search extensions and transposition...
  | | | post reply

Related Products:

© 2008 ChessCircle
Joomla! is Free Software released under the GNU/GPL License.