Kamui-Chan
User
 Junior Member
| Posts: 14 |   | Karma: 0
|
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
|