Geschrieben von: / Posted by: Reinhard Scharnagl at 07 September 2003 14:52:53:
Als Antwort auf: / In reply to: Re: Chispa questions - perft ? geschrieben von: / posted by: Uri Blass at 07 September 2003 14:10:27:
Hi Uri,
Note that I cannot compare times with movei because I do not know the
hardware that you use.
You can try to download public movei that also can calculate perft but does
not give you statistics.
I can modify movei to give the statistics but it is not
important for me at this point.
my hardware uses an AMD Athlon XP 1800+.
I temporarly have changed my Perft to the following form, which will
skip most statistics but instead move executes the leave nodes too:
void _R CBase::Perft(int n)
{
if (n <= 0) {
if (++PZaeZug >= 1000000000) {
PZaeZug -= 1000000000;
++PZaeZugBig;
}
return;
}
CBase::Genese();
--n;
for (TGenZug *pTG = CBase::GenBufferLimit;
--pTG >= CBase::Ply->Zuege; ) {
CBase::DoMove(pTG->Zug);
Perft(n);
CBase::UnMove();
}
}
I hope for that, you can use following data much better.
Regards, Reinhard.
Using FEN-0: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
#########################
#bR bN bB bQ bK bB bN bR#
#bP bP bP bP bP bP bP bP#
#  -- -- -- --#
#-- -- -- --  #
#  -- -- -- --#
#-- -- -- --  #
#wP wP wP wP wP wP wP wP#
#wR wN wB wQ wK wB wN wR#
#########################
Perft  Nodes Time
[1] 20 0 0  0 0  0 0.016
[2]  400 0 0  0 0  0 0.016
[3] 8902 0 0  0 0  0 0.016
[4] 197281 0 0  0 0  0 0.031
[5]  4865609 0 0  0 0  0 0.671
Using FEN-1: r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq
1
#########################
#bR -- -- bK -- bR#
#bP bP bP bQ bP bB  #
#bB bN -- bP bN bP --#
#-- -- wP wN --  #
#  bP -- wP -- --#
#-- wN -- wQ -- bP#
#wP wP wP wB wB wP wP wP#
#wR -- wK -- wR#
#########################
Perft  Nodes Time
[1] 48 0 0  0 0  0 0.016
[2] 2039 0 0  0 0  0 0.016
[3]  97862 0 0  0 0  0 0.015
[4]  4085603 0 0  0 0  0 0.594
[5]  193690690 0 0  0 0  0  26.703
Using FEN-2: 8/PPP4k/8/8/8/8/4Kppp/8 w - - 0 1
#########################
#  -- -- -- --#
#wP wP wP -- -- bK#
#  -- -- -- --#
#-- -- -- --  #
#  -- -- -- --#
#-- -- -- --  #
#  -- -- wK bP bP bP#
#-- -- -- --  #
#########################
Perft  Nodes Time
[1] 18 0 0  0 0  0 0.016
[2]  290 0 0  0 0  0 0.016
[3] 5044 0 0  0 0  0 0.016
[4]  89363 0 0  0 0  0 0.015
[5]  1745545 0 0  0 0  0 0.281
Using FEN-3: 8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -
#########################
#  -- -- -- --#
#-- bP -- --  #
#  -- bP -- --#
#wK wP -- -- -- bR#
#  wR -- bP bK#
#-- -- -- --  #
#  -- -- wP -- wP --#
#-- -- -- --  #
#########################
Perft  Nodes Time
[1] 14 0 0  0 0  0 0.015
[2]  191 0 0  0 0  0 0.016
[3] 2812 0 0  0 0  0 0.016
[4]  43238 0 0  0 0  0 0.015
[5] 674624 0 0  0 0  0 0.109