gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] engine/influence.c (and DFA)


From: bump
Subject: Re: [gnugo-devel] engine/influence.c (and DFA)
Date: Fri, 6 Sep 2002 08:17:19 -0700

> Noticed something odd about the unrolled loop in accumulate_influence(): it
> still has 'continue' statements in it, which means, unless I'm missing
> something obvious, the behaviour is different when the loop is unrolled or
> not.
> 
> When the loop is not unrolled, the continue means to go and do the
> next direction.
> 
> But when the loop is unrolled, the same continue statement means
> abandon this queue entry entirely, and go on to the next one.

Here are the test results after defining

#define EXPLICIT_LOOP_UNROLLING 0

in influence.c. Test results are current, so the unexpected results are
ALL due to this change.

1./regress.sh . nngs1.tst 
30 unexpected PASS!
./regress.sh . strategy.tst 
34 unexpected FAIL: Correct 'E17', got 'N15'
./regress.sh . nngs.tst 
120 unexpected PASS!
150 unexpected PASS!
160 unexpected PASS!
170 unexpected PASS!
1800 unexpected FAIL: Correct '!H5|G4|F6|F7', got 'G4'
./regress.sh . trevorc.tst 
1080 unexpected FAIL: Correct '!L8|K10|K9', got 'L8'
./regress.sh . strategy3.tst 
111 unexpected FAIL: Correct 'K3', got 'P3'
./regress.sh . 13x13.tst 
15 unexpected FAIL: Correct 'C7|B7|C6|B6|B5|C5', got 'E8'
16 unexpected FAIL: Correct 'C6|C5', got 'J4'
40 unexpected FAIL: Correct 'K13', got 'M12'
43 unexpected PASS!
65 unexpected FAIL: Correct 'H4', got 'L4'
./regress.sh . strategy4.tst 
216 unexpected PASS!
./regress.sh . handtalk.tst 
3 unexpected PASS!
8 unexpected PASS!
./regress.sh . nngs3.tst 
460 unexpected PASS!
700 unexpected FAIL: Correct 'Q2', got 'P7'

Dan




reply via email to

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