IvanHoe's "POSITION->DYN", typeDYNAMIC

Code, algorithms, languages, construction...
Post Reply
benstoker
Posts: 110
Joined: Thu Jun 10, 2010 7:32 pm
Real Name: Ben Stoker

IvanHoe's "POSITION->DYN", typeDYNAMIC

Post by benstoker » Thu Jul 29, 2010 5:05 pm

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?

BB+
Posts: 1484
Joined: Thu Jun 10, 2010 4:26 am

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

Post by BB+ » Thu Jul 29, 2010 11:55 pm

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.

Post Reply