Ludii Forum
endgame method for AI - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Ludii Features / Services (https://ludii.games/forums/forumdisplay.php?fid=11)
+--- Thread: endgame method for AI (/showthread.php?tid=1677)



endgame method for AI - Quentin Cohen-Solal - 09-28-2023

Good morning,

It would be nice if the AI class had an endgame method that is called when the current game is over. 


Such a method would make it possible to stop the calculations in progress (which are useless since the match is over), to free the memory used and also to make backups earlier, which can take time, this would therefore also make the Ludii app more fluid when using a personalized AI.

Thanks.


RE: endgame method for AI - Eric Piette - 09-29-2023

Agree, I keep note.


RE: endgame method for AI - kanecharles04 - 04-19-2024

This is a good request. Adding an endgame method to the AI layer like time calculator will help optimize calculations and free up memory after the game ends. This will improve the performance of the Ludii app when using personal AI.