// $Id: COsMoveListItem.htm 119 2004-05-16 00:02:24Z ggs_mburo $ // This is a GGS file, licensed under the GPL COsMoveListItem

COsMoveListItem

A COsMoveListItem contains all information about a move in a game. A vector of them is stored in a game as a COsMoveList.

Notes

When you are creating a mli (for returning from the GetMove() function) you must fill in the mv member.

If you have requested trust mode, you must fill in the tElapsed member; if not, GGS will fill it in for you.

If you are in a komi game and are making the initial move, you must fill in the dEval member. Otherwise it is optional, but it is recommended as it will help you debug your program.

When you receive a COsMoveListItem from GGS it will have a move and an elapsed time; dEval will be 0 if none was sent with the move.

Members

Variables
COsMove mvThe move
double tElapsedTime taken to make the move.
double dEvalNumerical evaluation of the move.
I/O
In()Reads from a stream in the GGF format, normally use the >> operator.
Out()Write to a stream in GGF format, normally use the << operator.