bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] FindBestMove does not working with higher plies


From: Jaro
Subject: Re: [Bug-gnubg] FindBestMove does not working with higher plies
Date: Fri, 16 May 2003 12:09:44 -0700

Right after EvalInitialise I call InitMatchEquity.

const char *GNUBG_EQUITY_FILENAME = "zadeh.xml";
const char *GNUBG_EQUITY_DIR = "met";

void CAMRgnu::Init()

{

    CString gnupath = _getRegistryStringEntry("gnuPath");

    CString met = _getRegistryStringEntry("metDirectory");


    if(gnu_EvalInitialise(GNUBG_WEIGHTS, GNUBG_WEIGHTS_BINARY, FALSE,
(LPCSTR)gnupath, FALSE, NULL))

        throw CAMRException(CAMRException::Err::eInitReturnsNotZero, "");
//lint !e64

    gnu_InitMatchEquity(GNUBG_EQUITY_FILENAME, GNUBG_EQUITY_DIR);

}


----- Original Message ----- 
From: "Joern Thyssen" <address@hidden>
To: "Jaro" <address@hidden>
Cc: "Øystein Johansen" <address@hidden>; <address@hidden>
Sent: Friday, May 16, 2003 11:38 AM
Subject: Re: [Bug-gnubg] FindBestMove does not working with higher plies


On Fri, May 16, 2003 at 06:28:09PM +0000, Joern Thyssen wrote
> On Fri, May 16, 2003 at 11:22:12AM -0700, Jaro wrote
> >
> > I tried to call EvalCacheResize(0) right after EvalInitialise.
> > EvalCacheResize returns zero, I think this is correct return value
according
> > to int CacheResize( cache *pc, int cNew ) fnc, but FinfBestMove fnc
still
> > crashing. (it is trying to read invalid memory).
> > Unfortunatly I dont have right tool to debug it. ( well, I can read
> > assembly, but this way seems to be quite hard.)
> >
> > Do you have any other idea how to break this problem?
>
> Is it match play or money?

To answer myself: match play :-)

To you have a call to InitMatchEquity?

Jørn


_______________________________________________
Bug-gnubg mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gnubg





reply via email to

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