Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: EPD: opponent mates

Author: Rafael Andrist

Date: 02:30:31 09/10/03

Go up one level in this thread


On September 10, 2003 at 03:04:11, Steven Edwards wrote:

>On September 10, 2003 at 01:45:27, Koundinya Veluri wrote:
>>On September 09, 2003 at 18:33:22, Steven Edwards wrote:
>
>>>4. The centipawn evaluation operand type needs a mate score indication
>>>correction.
>>
>>I would also like to be able to use the "dm" (direct mate) opcode with negative
>>values. So dm -3 would mean the active color gets mated in 3 moves. The "dm"
>>opcode is more convenient to use than "ce" if your program doesn't use the EPD
>>mate score format internally.
>
>You raise an important point about the current absence of an explicit indication
>for "the active color loses in N", and this needs to be addressed.  The current
>reliance on overloading the "ce" opcode operand is not the best way to handle
>this.  However, I am rather hesitant to extend the semantics of the "dm" opcode
>in a way (allowing a non positive operand) that could break exisiting programs.
>
>Instead of overloading "dm" (not to mention "ce"), a better treatment would be
>the addition of a new opcode specific to handling forced mates/losses.

Currently, I'm using the opcode "om" (= opponent mates in n) to indicate a loss
in n moves. But I think my program Wilhelm is the only one which recognizes the
"om" opcode so far. When I implemented this, I asked for opinions on this in
CCC, but unfortunately, most of those who answered were not interested in a new
opcode and suggested to use "ce" instead, which I don't like.
I suggest to use the "om" opcode or something similar.

regards
Rafael B. Andrist



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.