Managing many agents
Swarm offers the class Collection
Collections can be of type:
- List (today's focus!)
- Array (different from arrays in C!)
- Keyed Collection (maps and sets)
Note: Collections are dynamic data structures that can change during run-time (cf. pointers in C)