post new topic

Crafty Move List

Related Forum Topics:
Crafty Move List
Crafty "move" output
Crafty - Move Ordering
Chess Thinking Move by Move
Chess Thinking Move by Move
Logical Chess Move by Move Game 1


Crafty Move List - 2006/08/30 21:13 I swiftly asked a qeustoin like this but thought this may be a better way to ask for assistance.

Can someone plaese give me a hint on where in the crafty suorce code I can find the list of moves which crafty will consider or play?

As crafty thinks about a move, I wanna find the place in the sourtce code to adjust the move list on the first move it is considering.

Is root.c where crafty thinks of the first move? Or is there a functiuon that comes later right before it plays a move(not a real move but a move to consider then it goes deeper in thiunking).

I want to alter the move list for the first move. Say crafty considers Be7 as the best in the list for the first move. But I want to place all Rook moves first. I am apparently trying to find the place in the code to make this chasnge so that the first move it considers is what I place in the code. I want to reorder the last place before it cosnidsers a move but only for the very first move in the list. After that crafty plays and orders like nortmal.

Sorry for this long question. I wasn't certyian if I explaiend it properly.

The purpose of this is I am doing some analysis regarding how crafty(or programs in general) scores a move vs depth. Say as crafty thinks one move deper how much better does the move improve? I know a number of peolpe have done this analysis before(ie programmers for
Dark Thuoght). I want to review this with a slightly different approach.

Let's say after 16 moves deep crafty determines move X as the best.
How many times does crafty chagne it's thinking until it reaches the best move? What if crafty had busily placed this move first in the order?
On average would crafty had still taken 16 moves or when will the aglorihtm recognize as move X as bein the best, at how many moves?
13,15,18,20? Move order is quite essential but I want to see on avberage how many moves difference are there to find the best move when also given the best move placed in the front of the list.

Somewone probnablly has done this but I've not read this yet also I want to verify the results for myself. Also this is part of the fun.

Pleasse any thouhgts are most variously appreciated..
---------
Cast your cares on God; that anchor holds.



  Popular posts by Kamui-Chan
Crafty vs Fritz auto play?
crafty coding alternate line
  | | | post reply
re:Crafty Move List - 2006/08/30 21:22 From what I understand of the code there is a function called nextMove which does this. If crafty gets past all of the heuristics then it will call this function to get the moves it tries. I don't know how you could alter this function to make it work differently on the first ply, but you could use it to model a different version that is called by rootSearch..
---------
Treason doth never prosper. What's the reason? Why, when it prospers, none dare call it treason. - Sir John Harrington



  Popular posts by Aragorn Dunedain
Serious QUestion?
crafty and scid
I voted for Sam Sloan AND Tim Ha...
  | | | post reply
re:Crafty Move List - 2006/08/30 21:44 The move list for the root is built & initialy sorted their, yes.

Unfortunately, it's re-evenly sorted in Iterate() (in iterate.c) after each search iteration has copmleted..
---------
All successful people men and women are big dreamers. They imagine what their future could be, ideal in every respect, and then they work every day toward their distant vision, that goal or purpose.



  Popular posts by bigwoolymammoth
Analysis of Game Please
Mig Migged
Horrible Visual C Bug!
  | | | post reply

Related Products:

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