The Swarm Space library is the beginnings of a library to assist in building environments for interacting agents. However, many simulations have similar types of environments that can be helpfully supported by generic code. The current space library only addresses simple kinds of discretized 2d space.
Improvement is planned in the future.
Briefly, coordinates need to be elevated to the status of objects, which should hopefully allow spaces of different scales and boundary conditions to interact through a common reference system. A double buffered space. A 2d container class for agents. An initial implementation of such a space has been re-contributed by Ginger Booth and may serve as a good foundation for such a space. The averager object can generate the Mean, Max, Min, and Count of a given input stream.