Documentation Set for Swarm 2.2
Prev | Reference IV. Objectbase Library | Next

# Swarm

## Name

Swarm -- A temporal container.

## Description

A Swarm is a community of agents sharing a common timescale as well as common memory pool.

## Protocols adopted by Swarm

SwarmProcess CREATABLE

## Methods

### Phase: Using

- - (id <VarProbe>)getProbeForVariable: (const char *)aVariable
  Needed to support probing of Swarms.

- - (id <ProbeMap>)getCompleteProbeMap
  Needed to support probing of Swarms.

- - (id <ProbeMap>)getProbeMap
  Needed to support probing of Swarms.

- - (id <Activity>)activateIn: (id <Swarm>)swarmContext
  Override this to activate any actions you built in buildActions. Note, you must activate yourself first before you can activate actions inside you.

  Example objectbase/Swarm/-activateIn:/1.

       [super activateIn: swarmContext];
       [fancySchedule activateIn: self];
       return [self getSwarmActivity];

- - buildActions
  Override this to let your Swarm build its actions.

- - buildObjects
  Override this to let your Swarm create the objects that it contains.

Prev | Home | Next
ProbeMap | Up | SwarmObject