bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] How would I do this?


From: Jim Segrave
Subject: Re: [Bug-gnubg] How would I do this?
Date: Tue, 13 Aug 2002 11:23:39 +0200
User-agent: Mutt/1.2.5i

On Mon 12 Aug 2002 (19:44 +0000), Joern Thyssen wrote:
[snip]
> ApplyMoveRecord applies the moverecord (wow!), i.e., updates the board
> after chequer play, update who's on roll etc.
> 
> The first moverecord in each game is a movegameinfo. For this particular
> moverecord ApplyMoveRecord will initialise the board with the starting
> position and more, so it's not necesary to initialise msx if you're
> analysing the entire game, hence the removal of "memcpy (..)".
> 
> AnalyseMove includes a call to ApplyMoveRecord, hence the "else
> ApplyMoveRecord ( &msx, pmr );".
> 
> I've not testet the code above, but I think it would work, otherwise
> ask again :-)

I knew it was something obvious I was overlooking. Your fix was
exactly what was needed.

OK - enclosed are patches which add a command 'analyse marked', which
also shows up on the Analysis dropdown as 'Re-analyse marked'.

It will call AnalyzeMove on any move which is marked with a skill
level != SKILL_NONE. You should be able to do a quick analysis of a
game using a loose evaluation setting, then set a more rigourous set
of analysis parameters and re-analyse the moves that the first pass
flagged as being dubious. There are obvious risks to this procedure -
a 0 ply analysis may fail to flag a move as being even 'doubtful',
when a 2 ply would call it a major blunder.

Patches are against source of 13 Aug 8AM GMT (the patches will show
the CVS id's)


-- 
Jim Segrave           address@hidden

Attachment: b6.diff.gz
Description: application/gunzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]