constraint on action space somehow that each action can be chosen only once
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everyone. I am trying to solve a puzzle game with reinforcement learning and want to know if there is a way to constraint the action space or not. The problem is that I have 19 empty space in this game which has to be filled with specific numbers. Action for the agent is to chose these 19 empty spaces. Therefore if one space is chosen in the last step, it can not be chosen again, e.g. it chose space number 2 now, so it only has 18 empty spaces and consicuently 18 actions left because a filled space can not be filled again. Is there a way to do this without reward function?
0 commentaires
Réponses (1)
Emmanouil Tzorakoleftherakis
le 27 Jan 2023
Unfortunately, this is not possible as of R2022b out of the box. You would need to create a custom agent to implement this behavior.
0 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!