11-15-2020, 10:02 PM
Hello,
I have a problem with closeIA(). I would like to know when is it called. For example, I don't have the impression that it is called at the end of a game (which is not necessarily annoying). I also don't have the impression that it is called if we change opponents. If these are normal behaviors, then it would be nice to have a button to stop the AI (e.g. a square button next to the triangle button). On the other hand, much more problematic, I do not have the impression that it is called when closing the ludii application (if this is the case, then all unfinished AIs should be closed).
Moreover, as described in the previous post, is closeIA() effectively called before an initAI() that takes place during the game ?
Finally, It would be nice to have a setting in class IA to disable reset (and the corresponding closing) following rollback (I would like my IAs to keep their memory in case of undoing moves).
Thank you.
I have a problem with closeIA(). I would like to know when is it called. For example, I don't have the impression that it is called at the end of a game (which is not necessarily annoying). I also don't have the impression that it is called if we change opponents. If these are normal behaviors, then it would be nice to have a button to stop the AI (e.g. a square button next to the triangle button). On the other hand, much more problematic, I do not have the impression that it is called when closing the ludii application (if this is the case, then all unfinished AIs should be closed).
Moreover, as described in the previous post, is closeIA() effectively called before an initAI() that takes place during the game ?
Finally, It would be nice to have a setting in class IA to disable reset (and the corresponding closing) following rollback (I would like my IAs to keep their memory in case of undoing moves).
Thank you.