Reinhard Scharnagl wrote:12rkr3/5PP1/8/5Q2/5q2/8/5pp1/2RKR3 w KQkq - 0 1
the leading '1' seems to be an error.
Sorry, I just made a quick test without looking at the position and Hermann only writes an error message after the command "debug on".
Moderator: Andres Valverde
Reinhard Scharnagl wrote:12rkr3/5PP1/8/5Q2/5q2/8/5pp1/2RKR3 w KQkq - 0 1
the leading '1' seems to be an error.
Hi, what hardware did you use for this smirf perft? Seems pretty fast without caching.
Jaime wrote:... makes the pesudo-legal perft far slower ...
FEN: rbbknnqr/pppppppp/8/8/8/8/PPPPPPPP/RBBKNNQR w KQkq - 0 1
+-*--b--c--*--e--f--g--*-+ MS Vis. Studio C++ Vers. 13.10
8 |[r][b][b][k][n][n][q][r]| (Compilation: Jan 23 2005)
7 |[p][p][p][p][p][p][p][p]|
6 | ::: ::: ::: :::| Perft Testseries
5 |::: ::: ::: ::: |
4 | ::: ::: ::: :::| (without caching)
3 |::: ::: ::: ::: |
2 |<P><P><P><P><P><P><P><P>| Smirf Test No.: 00
1 |<R><B><B><K><N><N><Q><R>|
=>+-*--b--c--*--e--f--g--*-+ Break Time 10.0 Sec.
Ply Nodes all (x) (e.p.) all (+) all (++) Promot. Castl. Sec.
-------------------------------------------------------------------------------
1 20 0 0 0 0 0 0 0
2 400 0 0 0 0 0 0 0
3 9030 98 0 6 0 0 0 0
4 202966 3107 0 253 0 0 0 0
5 5044135 134425 256 22055 0 0 0 0.2
6 124381396 4165851 5278 637078 9 0 0 5.0
7 3323146824 145775591 322141 28718882 500 0 624 126
-------------------------------------------------------------------------------
Reinhard Scharnagl wrote:Thus there is no kind of cheating doing things the way like I do in Smirf.
Volker wrote:... there is not even a competition in having fast perft commands ...
Jaime wrote:... If Smirf uses a legal-only generator, it doesn't need to do/undo the leaf nodes in order to count them; just return the number of moves. Pseudo-legal generator based perfts have to try all moves in order to count the legal ones. This makes the pesudo-legal perft far slower because most of the total nodes are leaf nodes (5 - 30 times slower maybe?) ...
Jaime wrote:I'm really posting here because I want to get and provide help in FRC & normal chess programming ...
Uri wrote:For me making and unmaking the last move is expensive because I
need to update attack information.
Uri wrote:I think that you have a good chance to get to the level of commercial programs but of course it will take time
Uri wrote:I think that opening books in chess is not so important ...
tinkertink wrote:Is there a Chess 960 engine that has a "perft" command and also a "divide" command like ROCE (Roman's Own Chess Engine)?
...
Is there a Chess 960 engine that has a "perft" command and also a "divide" command like ROCE (Roman's Own Chess Engine)?
Volker Annuss wrote:Is there a Chess 960 engine that has a "perft" command and also a "divide" command like ROCE (Roman's Own Chess Engine)?
Hermann now has a perft with divide.
Start Hermann from the command line.
Switch to uci mode
> uci
set up a position
> position fen ...
Do perft with divide
> perft depth <d> Hash <MB> divide
Hash and divide are optional.
Greetings
Volker
4k3/pppppppp/8/8/PPPPPPPP/8/8/4K3 w - - Perft 3178;
4k3/8/8/pppppppp/8/8/PPPPPPPP/4K3 b - - Perft 3178;
8/8/8/3k4/1p6/8/2P5/3K4 w - - Perft 54;
8/8/8/1k6/1p6/8/2P5/1R1KB3 w - - Perft 11581;
8/8/8/1k6/1pP5/8/8/1R1KB3 b - c3 Perft 9630;
r3k2r/8/1N4N1/8/8/1n4n1/8/R3K2R w KQkq e6 Perft 26117661;
rnbq1bnr/PPPPPPPP/3K4/8/8/3k4/pppppppp/RNBQ1BNR w - - Perft 3306;
r2Nk2r/pPp3P1/8/bP4B1/1p5b/6P1/PpP3p1/R3K2R b KQkq - Perft 966;
H.G.Muller wrote:Actually the large depth is the main thing that makes it useful. With special test cases, like you propose, you would only catch problems that you did foresee. While most problems are unforeseen, as errors you foresee, you usually don't make...
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 3 guests