[Top][All Lists]

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

Re: [Bug-gnubg] Small oddity in CalculateHalfInputs()

From: Jon Kinsey
Subject: Re: [Bug-gnubg] Small oddity in CalculateHalfInputs()
Date: Wed, 18 May 2005 18:26:40 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7

Jim Segrave wrote:
On Wed 18 May 2005 (08:06 +0100), Jon Kinsey wrote:

Jim Segrave wrote:

I've been looking at this function as I belive it can be recoded to
provide more efficient setup of the NN inputs. As a first step, I've
been going through the code looking at the sections that produce
various inputs. One of the very first ones is the routine to calculate
the number of pips needed to break contact:
No, 6 points breaks contact - you don't have to go any further than

I was confused - and thought it was the piece on the bar that was being
counted not the other way around.

now if instead nOppBack = 0 (1 pt) gives:
nOppBack = 0 (1 pt), i = 5 (6 pt) gives:
i + 1 - nOppBack = 6

Breaking contact with a man on the 1 is no different than with the man
on the bar, you only break contact by bearing off

You're right, but is that all the code is doing?  Or more specifically
there is a difference (in the position) so perhaps the different values
help distinguish these positions in some way?

I really don't know much about the NN code, out of interest if this was
changed would it likely have any effect?  If so does that mean that
gnubg is slightly mis-trained for this specific circumstance?


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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