Skip to content

Commit

Permalink
Update mesa/examples/basic/boid_flockers/model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ewout ter Hoeven <E.M.terHoeven@student.tudelft.nl>
  • Loading branch information
quaquel and EwoutH authored Jan 8, 2025
1 parent c4de8de commit 23159bf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions mesa/examples/basic/boid_flockers/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,3 @@ def step(self):
"""
self.agents.shuffle_do("step")
self.update_average_heading()


if __name__ == "__main__":
model = BoidFlockers(population_size=200, width=100, height=100, vision=5, seed=42)

for _i in range(20):
model.step()

0 comments on commit 23159bf

Please sign in to comment.