Value draw

Discussion of chess software programming and technical issues.

Moderator: Ras

abulmo
Posts: 151
Joined: Thu Nov 12, 2009 6:31 pm

Re: Value draw

Post by abulmo »

lech wrote:Let me show in which way I solved the problem with "value draw" in search.
What is the problem with draw values?
Richard
lech
Posts: 1175
Joined: Sun Feb 14, 2010 10:02 pm

Re: Value draw

Post by lech »

abulmo wrote:
lech wrote:Let me show in which way I solved the problem with "value draw" in search.
What is the problem with draw values?
Sorry that it took a whille, but I had to get sober. :)

The problem with VALUE_DRAW (= 0) in my simple thinking: it is impossible to negate ZERO.

Two examples (one from game, second zugzwang):
[d]5rk1/5ppp/p1Q1p3/1R6/q7/4b1P1/P2RPP1P/6K1 w - - Rd8;
Dual core:
Stockfish 211 (original - my compilation): the best result (3 tries) 137 sec. / 29 depth
Stockfish 211 (with my idea): the worst result (3 tries) 60 sec. / 27 depth

[d]4kr2/5p1K/3p1Q2/1p4P1/4P3/1PP5/7b/8 w - - bm Kh6;
Dual core:
Stockfish 211 (original - my compilation): resigned after 4 minutes (3 tries)
Stockfish 211 (with my idea): the worst result (3 tries) 175 sec. / 38 depth

Probably, the ELO difference between the two versions can be the error bar only.
Maybe, I can't be friendly, but let me be useful.
wgarvin
Posts: 838
Joined: Thu Jul 05, 2007 5:03 pm
Location: British Columbia, Canada

Re: Value draw

Post by wgarvin »

lech wrote:
abulmo wrote:
lech wrote:Let me show in which way I solved the problem with "value draw" in search.
What is the problem with draw values?
Sorry that it took a whille, but I had to get sober. :)

The problem with VALUE_DRAW (= 0) in my simple thinking: it is impossible to negate ZERO.
I still don't understand what is the problem being solved, here. If you don't like zero as a draw score, why not add a little contempt factor to your draws?
lech
Posts: 1175
Joined: Sun Feb 14, 2010 10:02 pm

Re: Value draw

Post by lech »

wgarvin wrote:
lech wrote:
abulmo wrote:
lech wrote:Let me show in which way I solved the problem with "value draw" in search.
What is the problem with draw values?
Sorry that it took a whille, but I had to get sober. :)

The problem with VALUE_DRAW (= 0) in my simple thinking: it is impossible to negate ZERO.
I still don't understand what is the problem being solved, here. If you don't like zero as a draw score, why not add a little contempt factor to your draws?
I like VALUE_DRAW = 0 and like (recommend) my idea too. A contempt factor looks like the Houdini's trick with the "rule 50" to get zero in (e.g.) fortress positions.
Maybe, I can't be friendly, but let me be useful.