shariqiqbal2810 / maddpg-pytorch

PyTorch Implementation of MADDPG (Lowe et. al. 2017)
MIT License
552 stars 128 forks source link

confusing about agent.state.c. #12

Closed KK666-AI closed 4 years ago

KK666-AI commented 4 years ago

Dear Author,

In the environment, such as speaker and listener, the listener can obtain the speakers state.c as the observation, however, i don't find where the state.c is updated?

shariqiqbal2810 commented 4 years ago

This question pertains to the code in multiagent-particle-environments. I would recommend that you ask questions pertaining to their code in their repository in the future, as I am not the author.

The state.c attribute seems to be updated in this function by setting it to the agent's communication action plus some optional noise.