Hi,
On Monday 28 October 2002 06:39, Markus Enzenberger wrote: [...]
This would not handle the commands where interruptig is most important correctly, like genmove. genmove should just return the best move found so far in the search.
I am afraid this is implied behaviour on the part of the engine. Some engines cannot return a "partial" answer, even if you could interrupt their move generation algorithm. Also, it seems undesirable to specify a different engine response depending on whatever the engine was doing when it received the abort command. [...]
All in all, IMHO Mr. Schubert's suggestions seem to be the easiest to implement and more in line with the general "spirit" of GTP.
I'l try to add a very simple implementation of his "abort" command to the -plus programs (even though they don't think long enough for this to be of any use), just as a feasibility demo/test.
I would keep the command optional, though.
Regards,