bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Problem using command files for rollouts.


From: Jim Segrave
Subject: Re: [Bug-gnubg] Problem using command files for rollouts.
Date: Tue, 25 Feb 2003 17:22:22 +0100
User-agent: Mutt/1.4i

On Tue 25 Feb 2003 (16:16 +0100), Holger wrote:
> At 00:12 25.02.2003 +0100, Jim Segrave wrote:
> >On Mon 24 Feb 2003 (13:07 -0000), Ian Shaw wrote:
> >> If I set up a command file to do several rollouts, it works up to the 
> >point when the first rollout is complete. GnuBg then sits there waiting 
> >for me to press OK before continuing on to the next rollout.
> >> I can't find any settings to turn this feature off, which precludes me 
> >from running untended rollouts.
> >> I've got
> >> set message on
> >> set confirm new off
> >> set confirm save off
> >>
> >> Is there any way round this, or could there be one? I'd use 
> >gnubg_no_gui, but there isn't an up to date build.
> >
> >I was looking at the code and had the following thought, but I'm no
> >expert in gtk windows etc.
> >
> >If we had a global that was set in gnubg.c:LoadCommands() to indicate
> >it was running a command file, then maybe the rollout command could
> >issue a "clicked" signal to the OK button for the Rollout window (of
> >course that part of the code would go in gtkgame.c, not rollout.c, but
> >rollout.c could call a function to conditionally clear the window if
> >we're running a command file.
> >
> >Do any gtk experts know if this is the right way to achieve this?
> 
> I'm no expert, but will give my 2ct:
> I suppose it might help if outputresume() isn't called until the global 
> flag isn't cleared. So if there are queued tasks and no errors no output is 
> given, and only at the end of LoadCommands() outputresume() gets called. 
> Maybe then the global could even be omitted.
> If the queued text might get too much, one could also think about writing 
> all into a file.

I would have thought that if I were running a command file with a few
rollouts in it, I'd like to be able to see what sort of progress it
was making - an untruncated rollout of 6 moves can take a couple of
days even on a 2.4G machine with lots of memory. Personally, I'd want
to see how far it had got and be able to estimate how long it would
take to complete and what sort of results it was showing (if it's
rolled out 400 games and the STD of the results is down around .0015,
I might decide to stop it there, even if it meant editing my command
file to start with the next position, rather than run another several
hours of rolling out a position which I think is already clearly
evaluated.


-- 
Jim Segrave           address@hidden




reply via email to

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