We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59c75d commit 1ef94c4Copy full SHA for 1ef94c4
examples/sugarscape_g1mt/sugarscape_g1mt/model.py
@@ -187,6 +187,14 @@ def step(self):
187
188
# collect model level data
189
self.datacollector.collect(self)
190
+ '''
191
+ Mesa is working on updating datacollector agent reporter so it can collect information on specific agents
192
+ from mesa.time.RandomActivationByType.
193
+
194
+ Please see issue #1419 at https://github.com/projectmesa/mesa/issues/1419 (contributions welcome)
195
196
+ Below is one way to update agent_records to get specific Trader agent data
197
198
# Need to remove excess data
199
# Create local variable to store trade data
200
agent_trades = self.datacollector._agent_records[self.schedule.steps]
0 commit comments