Closed kasanari closed 8 months ago
This is what I have used as a condition, i.e. the attack surface is empty.
terminations[agent] = sum(infos["attacker"]["action_mask"][1]) == 0
Fixed in 47e9331a7ae67d09408dce6efde4ac940b0a8cac
All agents now terminate if none of the attacker have any action left to take.
This is what I have used as a condition, i.e. the attack surface is empty.
terminations[agent] = sum(infos["attacker"]["action_mask"][1]) == 0