bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!


From: Jim Segrave
Subject: Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!
Date: Wed, 8 Jan 2003 21:45:49 +0100
User-agent: Mutt/1.2.5.1i

On Wed 08 Jan 2003 (18:32 +1300), Joseph Heled wrote:
> 
> There seems to be a discrepancy. My code gives me consistently
> 
> 0.54213905334472656, 0.34824475646018982, 0.08864891529083252, 0.0, 0.0
> 
> When I use gnubg, I get Neil numbers or worse.
> 
> Have no idea yet what is wrong.
> 
> Can gnubg log the rollouts? I would like to analyze them with fibs2html 
> to see where the differences are?

I was thinking the same thing. It's easy to syslog the dice rolls, the
game number, player on move, cube action (although it's not important
here). The hard part is that all rollouts seem to use
BasicCubefulRollout() and that doesn't actually provide the chosen
move. 

I can change the call to FindBestMove() in this routine to return the
best move for non 0ply rollouts. Fixing it for 0 ply is a bit messy.

These patches may be a bit ugly and will assume the presence of
syslog() and openlog(), so it may not be usable under Windows.

-- 
Jim Segrave           address@hidden





reply via email to

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