Skip to content
Discussion options

You must be logged in to vote

From the snippet, it seems to me that a's value doesn't vary across agents. As such, specifying it as a model attribute that is read by the agents should be sufficient. The agents can access the value via self.model.a.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cylin928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants