[Top][All Lists]

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

Re: [Bug-gnubg] Bug in makebearoff when building db w/o gammons

From: Christian Anthon
Subject: Re: [Bug-gnubg] Bug in makebearoff when building db w/o gammons
Date: Fri, 6 Mar 2009 11:23:49 +0100

On Sun, Mar 1, 2009 at 11:23 AM, Øystein Johansen <address@hidden> wrote:
> For discussion:
> For bearoff databases with gammon distributions, the db stores gammon
> distributions for _all_ positions in the db. Even those positions where
> a gammon is already saved. It uses only 2 bytes for such positions, but
> I'm estimating that there is about > 20000 positions where there is no
> gammon involved. Making a scheme to check for possible gammon and only
> storing those distributions sounds trivial, but is it worth the effort?
> If I commit such change, it will break compatibility with existing
> bearoff databases, but the memory footprint will be 40-50Kb less. Is it
> worth it?

The gammons in the default race database is completely irrelevant, and
even in the larger databases they are almost pointless, considering
that the normal gammon-save races have a couple or more men starting
on the opponents half of the board. Much more relevant would be to
design a database with stragglers vs. an opponent in bearoff. But it
might require some consideration to have the index right and avoid
"holes" in the database and contact positions at the same time.


reply via email to

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