objectbase / SwarmObject

SwarmObject is the simple object type on which most Objective C Swarm modelers base agents.

SwarmObject provides the simple customizable typing capability of defobj, in addition to methods for acquiring a classes' ProbeMap or individual variable or message probes. Instances of SwarmObject can also report when the user modifies a variable via probe.

It isn't necessary to use SwarmObject for agents; it's just common practice. For example, agents implemented in Java don't have to inherit from anything provided by Swarm.