Skip to content

Commit 51e111a

Browse files
authored
Merge pull request #3728 from programminghistorian/issue-3272
Update simulating-historical-communication-networks-python.md
2 parents bd8bdcc + 56e7146 commit 51e111a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

en/lessons/simulating-historical-communication-networks-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ Since one of the main goals of Agent-Based Modeling is generating data for analy
573573

574574
When the data collector’s `collect` method is called with a model object as its argument, it applies each model-level collection function to the model, and stores the results in a dictionary, linking the value to the current step of the model. If the input model is an agent, the method also links the resulting value to the agent’s `unique_id`.
575575

576-
Let's add a data collector to the model with [`mesa.DataCollector`](https://github.com/projectmesa/mesa/blob/2.4.x-maintenance/mesa/datacollection.py), and collect two variables at the agent level: the number of letters every agent has sent at every step, and the number of letters it has received.
576+
Let's add a data collector to the model with [`mesa.DataCollector`](https://github.com/mesa/mesa/blob/main/mesa/datacollection.py), and collect two variables at the agent level: the number of letters every agent has sent at every step, and the number of letters it has received.
577577

578578
```python
579579
self.datacollector = mesa.DataCollector(

0 commit comments

Comments
 (0)