alpha beta pruning
Posted: 19 Jul 2013, 10:04
Hello,
It is more than a year since I worked on my chess program and I'm trying to get back into it. I had an idea for paralyzing search trees so I got the sources of my chess program from svn!
While looking through the code I noticed that when I reach the bottom of the tree, I do evaluate(currentSide). So I invoke the evaluation seen from the side from who's move it is. I'm not entirely sure if that is correct. I did some googling but no example is explicit about it.
Given the alpha/beta pruning example from http://en.wikipedia.org/wiki/Alpha_beta_pruning, should I evaluate "seen from the root side point of view" or "seen from the side who's move it is at that ply"? I tried to reason it for myself but I did not come to a conclusion.
regards
It is more than a year since I worked on my chess program and I'm trying to get back into it. I had an idea for paralyzing search trees so I got the sources of my chess program from svn!
While looking through the code I noticed that when I reach the bottom of the tree, I do evaluate(currentSide). So I invoke the evaluation seen from the side from who's move it is. I'm not entirely sure if that is correct. I did some googling but no example is explicit about it.
Given the alpha/beta pruning example from http://en.wikipedia.org/wiki/Alpha_beta_pruning, should I evaluate "seen from the root side point of view" or "seen from the side who's move it is at that ply"? I tried to reason it for myself but I did not come to a conclusion.
regards