Page 1 of 1

IvanHoe's "POSITION->DYN", typeDYNAMIC

Posted: Thu Jul 29, 2010 5:05 pm
by benstoker
Is there a more descriptive, natural language, naming alternative to the "typeDYNAMIC" structure in the IvanHoe code and the various pointers such as "POS->DYN_ROOT" and "POSITION->DYN". In comparison, stockfish's code is very descriptive.

What exactly is "POS->DYN_ROOT"? pv->root-node?

Re: IvanHoe's "POSITION->DYN", typeDYNAMIC

Posted: Thu Jul 29, 2010 11:55 pm
by BB+
I think POS is kind of like the Position class of Stockfish. The DYN in IvanHoe seems to be things that are ply-specific (updated by make), while the non-DYN stuff in POS (like bitboards) are updated by both make/undo. At least that's how I see it. Thus DYN is more like StateInfo in Stockfish.

Calling "POS->DYN" as "POS0" is a typical IvanHoe confusion, as DYN0 would make more sense I think.