Current PettingZoo implementation lacks the state method, which is a standard PettingZoo API. Adding this API will help implementations of centralized training methods like QMIX.
Made two modifications:
Add the state method following PettingZoo API.
Add state_space variable. It can help get the dimension of states. Although it is not a necessary API for PettingZoo, many PZ environments support state_space like MPE.
Current PettingZoo implementation lacks the
state
method, which is a standard PettingZoo API. Adding this API will help implementations of centralized training methods like QMIX.Made two modifications:
state
method following PettingZoo API.state_space
variable. It can help get the dimension of states. Although it is not a necessary API for PettingZoo, many PZ environments supportstate_space
like MPE.