Skip to content

Commit

Permalink
add comment on RABT
Browse files Browse the repository at this point in the history
  • Loading branch information
tpike3 committed May 4, 2023
1 parent b59c75d commit 1ef94c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/sugarscape_g1mt/sugarscape_g1mt/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ def step(self):

# collect model level data
self.datacollector.collect(self)
'''
Mesa is working on updating datacollector agent reporter so it can collect information on specific agents
from mesa.time.RandomActivationByType.
Please see issue #1419 at https://github.com/projectmesa/mesa/issues/1419 (contributions welcome)
Below is one way to update agent_records to get specific Trader agent data
'''
# Need to remove excess data
# Create local variable to store trade data
agent_trades = self.datacollector._agent_records[self.schedule.steps]
Expand Down

0 comments on commit 1ef94c4

Please sign in to comment.