Skip to content

Commit 1ef94c4

Browse files
committed
add comment on RABT
1 parent b59c75d commit 1ef94c4

File tree

1 file changed

+8
-0
lines changed
  • examples/sugarscape_g1mt/sugarscape_g1mt

1 file changed

+8
-0
lines changed

examples/sugarscape_g1mt/sugarscape_g1mt/model.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ def step(self):
187187

188188
# collect model level data
189189
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+
'''
190198
# Need to remove excess data
191199
# Create local variable to store trade data
192200
agent_trades = self.datacollector._agent_records[self.schedule.steps]

0 commit comments

Comments
 (0)