I still have trouble understanding your gtp handling, if you have time: please
Issue #35
resolved
if quit is called I would like to have a funktion in Engine to be called to save the learned parameters.
At the moment I do it after every move in Engine::generateMove, which is to often.
getFeatures()->saveGammaFile (learn_filename_features); getFeatures()->saveCircValueFile (learn_filename_circ_patterns);
Comments (3)
-
repo owner -
reporter Thanks, this is what I was looking for. And it is called after each game with gomill, now my ssd will live longer I think:)
-
reporter - changed status to resolved
solved
- Log in to comment
How about after each game? There is Engine::gameFinished()
Alternatively, if you really want to do it when the engine shuts down, you could put it in the destructor Engine::~Engine(), however I think the first method is preferable.