Chess
Moderator: Dust
-
- Ex-boss
- Posts: 2338
- Joined: 01 Jan 1970 01:00
- Contact:
- Dust
- The Boss
- Posts: 9093
- Joined: 01 Jan 1970 01:00
- Contact:
-
- Die-Harder
- Posts: 2721
- Joined: 01 Jan 1970 01:00
- Location: Cambridge, UK
- Contact:
- Dust
- The Boss
- Posts: 9093
- Joined: 01 Jan 1970 01:00
- Contact:
I know how to do it, the worker thread objects have even an api to abort them. But it just seems bad to interrupt an enemy in a chess game. (I was not even sure if I should allow you to change the piece once you touched it...)
I do what I think is right. But I don't think that what I think is right can not be wrong.
-
- Die-Harder
- Posts: 2721
- Joined: 01 Jan 1970 01:00
- Location: Cambridge, UK
- Contact:
-
- Die-hard
- Posts: 2231
- Joined: 01 Jan 1970 01:00
- Location: Waterford, Ireland
- Contact:
If the user takes back a move the initial position of the board where the strategy thread starts its search may be different, so effectively you will have to restart it from scratch.Colyn wrote:Lol... I think. Interrupting the AI will have no lasting effects I presume i.e. it won't lose its train of thought or weaken its ability to repeat the analysis once the user is happy?
Every man's death diminishes me, for I am involved in all mankind.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
-
- Die-Harder
- Posts: 2721
- Joined: 01 Jan 1970 01:00
- Location: Cambridge, UK
- Contact:
-
- Die-hard
- Posts: 2231
- Joined: 01 Jan 1970 01:00
- Location: Waterford, Ireland
- Contact:
My point is that if you interrupt the strategy thread to take back a move you change the assumptions of the strategy thread (specifically the opening board position but also possibly including such things as search depth parameters). Ergo the suspendability/resumability of such a thread is moot and the only sensible practice is a graceful exit and creating a fresh thread when the user is done.Colyn wrote:Yes Grum but what's your point? Mine is that interrupting the engine does nothing to it. The only effect is on the user who chose to interrupt it in the first place.
In other words I can't see how you can support the statement that interrupting the engine does nothing to it.
Every man's death diminishes me, for I am involved in all mankind.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
-
- Die-Harder
- Posts: 2721
- Joined: 01 Jan 1970 01:00
- Location: Cambridge, UK
- Contact:
You've made a huge assumption Grum which is that I advocated the resumption of the processing thread, I never suggested that this be the case.
Colyn wrote:it won't lose its train of thought or weaken its ability to repeat the analysis once the user is happy?
Colyn | Warrior
Squirrels chase Magpies. It's true. I've seen it...
Squirrels chase Magpies. It's true. I've seen it...
-
- Die-hard
- Posts: 2231
- Joined: 01 Jan 1970 01:00
- Location: Waterford, Ireland
- Contact:
Your use of the word interrupt is different from mine then And if I were really feeling nitpicky I'd point out that it _does_ make it lose its train of thought. (oh wait, I am feeling really nitpicky).Colyn wrote:You've made a huge assumption Grum which is that I advocated the resumption of the processing thread, I never suggested that this be the case.
Colyn wrote:it won't lose its train of thought or weaken its ability to repeat the analysis once the user is happy?
Enough anyway. We're all both right and wrong. Tea and cakesfor everybody.
Every man's death diminishes me, for I am involved in all mankind.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
-
- Die-Harder
- Posts: 2721
- Joined: 01 Jan 1970 01:00
- Location: Cambridge, UK
- Contact:
Oh good, I'm feeling nitpicky too...Grumthorn wrote:Your use of the word interrupt is different from mine then And if I were really feeling nitpicky I'd point out that it _does_ make it lose its train of thought. (oh wait, I am feeling really nitpicky).
I'm still up for tea and cakes tho..On the meaning of [b]interrupt[/b], dictionary.com wrote:2. to break off or cause to cease, as in the middle of something: He interrupted his work to answer the bell.
...
4. to cause a break or discontinuance; interfere with action or speech, esp. by interjecting a remark: Please don't interrupt.
Colyn | Warrior
Squirrels chase Magpies. It's true. I've seen it...
Squirrels chase Magpies. It's true. I've seen it...
-
- Die-hard
- Posts: 2231
- Joined: 01 Jan 1970 01:00
- Location: Waterford, Ireland
- Contact:
Both those examples from your quote imply later continuance do they not?Colyn wrote:Grumthorn wrote: Oh good, I'm feeling nitpicky too...
On the meaning of [b]interrupt[/b], dictionary.com wrote:2. to break off or cause to cease, as in the middle of something: He interrupted his work to answer the bell.
...
4. to cause a break or discontinuance; interfere with action or speech, esp. by interjecting a remark: Please don't interrupt.
your move sir, your move.
Every man's death diminishes me, for I am involved in all mankind.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
Therefore, send not to know for whom the bell tolls; it tolls for thee.
-
- Die-Harder
- Posts: 2721
- Joined: 01 Jan 1970 01:00
- Location: Cambridge, UK
- Contact:
- Cyberia
- Site Admin
- Posts: 4790
- Joined: 01 Jan 1970 01:00
- Contact:
If your going to quote the dictionary at least quote the relevant parts;
So as Grum said your both wrong ( now I'm misquoting ).Interrupt can have either meaning;
- To discontinue is to stop or leave off, often permanently: to discontinue a building program.
- To suspend is to break off relations, operations, proceedings, privileges, etc., for a certain period of time, usually with the stipulation that they will be resumed at a stated time:
-
- Die-hard
- Posts: 2231
- Joined: 01 Jan 1970 01:00
- Location: Waterford, Ireland
- Contact:
Who is online
Users browsing this forum: No registered users and 34 guests