03-11-2021, 07:21 AM
Hi,
As far as I can tell what your description is doing (because the description is a bit too long to show an obvious problem), you have a bunch of difference consequences of consequences of consequences.... So the moves returned in the legal moves are corrects.
Because when the computation of the moves is realised, the moves corresponding to the first consequences are obtained so something like
- {(Move1, csq), (Move2, csq), (Move3, csq), (Move4, csq), (Move5, csq)}
Then when each of these (Movei, csq) is computed we got:
- {(Movei1, csq2),(Movei2, csq2),(Movei3, csq2),(Movei4, csq2)}
ect....
so at the end you got (Move1, {(Move11, csq2),(Move12, csq2),(Move13, csq2),(Move14, csq2)} and you repeat that for each csq2 until the last csq. So the order of the actions computed for each move is correct according to your description but just not what you expected from this description.
I think what you are simply trying to do is just
(then
(and {
CsqMove1
CsqMove2
CsqMove3
CsqMove4
CsqMove5
})
)
However, the way you are doing it, with some remember in the consequences, then forget it just after, seems wrong. So I am not sure what you are trying to do, but I do not think you need to remember these sites if you forget them just after.
I guess you can just use them directly, with no need of remembering them.
Regards,
Eric
As far as I can tell what your description is doing (because the description is a bit too long to show an obvious problem), you have a bunch of difference consequences of consequences of consequences.... So the moves returned in the legal moves are corrects.
Because when the computation of the moves is realised, the moves corresponding to the first consequences are obtained so something like
- {(Move1, csq), (Move2, csq), (Move3, csq), (Move4, csq), (Move5, csq)}
Then when each of these (Movei, csq) is computed we got:
- {(Movei1, csq2),(Movei2, csq2),(Movei3, csq2),(Movei4, csq2)}
ect....
so at the end you got (Move1, {(Move11, csq2),(Move12, csq2),(Move13, csq2),(Move14, csq2)} and you repeat that for each csq2 until the last csq. So the order of the actions computed for each move is correct according to your description but just not what you expected from this description.
I think what you are simply trying to do is just
(then
(and {
CsqMove1
CsqMove2
CsqMove3
CsqMove4
CsqMove5
})
)
However, the way you are doing it, with some remember in the consequences, then forget it just after, seems wrong. So I am not sure what you are trying to do, but I do not think you need to remember these sites if you forget them just after.
I guess you can just use them directly, with no need of remembering them.
Regards,
Eric