Polyglot 1.3W: The evaluation of a board position

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Polyglot 1.3W: The evaluation of a board position

Postby beneficii » 13 May 2010, 05:02

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?
beneficii
 
Posts: 43
Joined: 07 May 2010, 05:17

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

Postby Pedro Castro » 13 May 2010, 13:29

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.
Best wishes,

Pedro Castro
User avatar
Pedro Castro
 
Posts: 180
Joined: 28 Jan 2005, 01:09
Location: Pays Basque (Spain)


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 18 guests