Search found 327 matches

by smrf
Sun Feb 17, 2013 8:32 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Cross compiling woes
Replies: 13
Views: 1556

Re: Cross compiling woes

To calculate y := exp(x) you also could use a continuous fraction:

first calculate z := x/(-2 + x²/(-6 + x²/(-10 + x²/(-14 + ... ... )))

then you will get y := (1 - z) / (1 + z) using higher precision.
by smrf
Sun Jan 27, 2013 1:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: cross compiling
Replies: 52
Views: 7493

Re: cross compiling

You will find some Cross-Compile links in German at:

http://www.10x8.net/home/IT-Tools.html
by smrf
Sun Dec 30, 2012 5:31 pm
Forum: Computer Chess Club: General Topics
Topic: Why don't you share your code?
Replies: 6
Views: 1622

Re: Why don't you share your code?

One simply could talk about ideas, so there is no need to share source code. Here a lot of people are interested in compiling the strongest engine. But for me new ideas are of top interest. Such approaches mostly do not start within the level range of star programs', thus unfortunately being ignored...
by smrf
Mon Oct 22, 2012 4:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: AlphaBeta and "rule based expert system"
Replies: 7
Views: 1995

Re: AlphaBeta and "rule based expert system"

The more moves you can make in a ply, the more intelligence is needed to play well. Thus Arimaa or 10x8 Chess maybe good drosophilas. The latter, when generating some results of intelligence, could flash back and enlighten programming of traditional Chess.
by smrf
Thu Sep 27, 2012 11:10 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Why Knight and (lone) Bishop are so nearly equal in value
Replies: 31
Views: 6751

Re: Why Knight and (lone) Bishop are so nearly equal in valu

... And I've never heard of a multi-dimensional minmax algorithm. I really don't see what you could do with a multi-dimensional score. But if you have an idea of such an algorithm, please let us know, as it would be quite a breakthrough in game theory. if you would reinterprete a good evaluation fu...
by smrf
Tue Sep 25, 2012 1:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Why Knight and (lone) Bishop are so nearly equal in value
Replies: 31
Views: 6751

Re: Why Knight and (lone) Bishop are so nearly equal in valu

Remember the elephantiasis effect. It is caused by the missing or decreasing of big pieces' suicide ability.
by smrf
Thu Jun 14, 2012 8:49 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zobrist alternative?
Replies: 92
Views: 11741

Re: Zobrist alternative?

One alternative seems to be not to use caching at all. I am not sure how big the branching factor of this game would be, but I estimate it to be that huge, that occurrences of duplicate positions will have a very small rate. Thus it easily could be, that avoiding any caching and Zobrist keys could s...
by smrf
Wed Jun 13, 2012 4:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zobrist alternative?
Replies: 92
Views: 11741

Re: Zobrist alternative?

Well, I see. Also HGM explained the difficulties at pairs of same piece type using that suggested approach (when overlaying all elementary piece/coor keys also by XOR).
by smrf
Wed Jun 13, 2012 1:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zobrist alternative?
Replies: 92
Views: 11741

Re: Zobrist alternative?

Edmund wrote:...

then you still get a problem with multiple pieces of the same type.
e.g. 2 rooks:
rook A on 0/0 and rook B on 7/7
is the same as
rook A on 0/7 and rook B on 7/0
Not at all. Four distinct keys will be used to produce both overlaid keys.
by smrf
Wed Jun 13, 2012 12:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zobrist alternative?
Replies: 92
Views: 11741

Re: Zobrist alternative?

Edmund wrote:
smrf wrote:why not: key(piece,square) := key(piece, column) ^ key(piece, row)
Bishop on row 0 / file 7 gets the same key as row 7 / file 0. These two positions are only one move apart.
Be aware that the two sides of XOR obviously use distinct Zobrist keys.