Repast / repast4py

Git repository for Repast for Python development
Other
51 stars 4 forks source link

Implement Grid slicing #13

Open ncollier opened 3 years ago

ncollier commented 3 years ago

Idea is that a slice would return all the agents in the region covered by the slice. This is more pythonic than getAgentAt type calls.

Fluent python has a discussion of this. See slicing in chapter 2.