Page 1 of 1

Polyglot 1.3W: The evaluation of a board position

PostPosted: 13 May 2010, 05:02
by beneficii
Hi, I'm having difficulty finding where Polyglot 1.3W, in its source, puts the function where it evaluates (gives the score for) a board position. I've searched through, and found adapter.cpp and uci.cpp, and each has functions that deal with the score, and for sorting the move list based on best score, and I see that Polyglot will communicate the score, but I cannot find where the function that actually evaluates a position and gives a score for it.

Does anyone know?

Re: Polyglot 1.3W: The evaluation of a board position

PostPosted: 13 May 2010, 13:29
by Pedro Castro
beneficii wrote:Hi, I'm having difficulty finding where Polyglot 1.3W, in its source, puts the function where it evaluates (gives the score for) a board position. I've searched through, and found adapter.cpp and uci.cpp, and each has functions that deal with the score, and for sorting the move list based on best score, and I see that Polyglot will communicate the score, but I cannot find where the function that actually evaluates a position and gives a score for it.

Does anyone know?


Polyglot's role is not to evaluate a board position but allow the engines with uci protocol to play at an interface with XBoard protocol.

Fabien used his engine Fruit to make Polyglot, with Fruit you can to evaluate, with Polyglot no.