swarm.objectbase
Interface Swarm

All Known Subinterfaces:
GUISwarm
All Known Implementing Classes:
SwarmImpl, GUISwarmImpl

public abstract interface Swarm
extends SwarmProcessS, SwarmProcess

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


Method Summary
 ActivityImpl activateIn(SwarmImpl swarmContext)
          Override this to activate any actions you built in buildActions.
 Object buildActions()
          Override this to let your Swarm build its actions.
 Object buildObjects()
          Override this to let your Swarm create the objects that it contains.
 ProbeMapImpl getCompleteProbeMap()
          Needed to support probing of Swarms.
 VarProbeImpl getProbeForVariable(String aVariable)
          Needed to support probing of Swarms.
 ProbeMapImpl getProbeMap()
          Needed to support probing of Swarms.
 
Methods inherited from interface swarm.activity.SwarmProcess
getActivity, getInternalZone
 
Methods inherited from interface swarm.defobj.Zone
allocIVars, allocIVarsComponent, copyIVars, copyIVarsComponent, describeForEach, describeForEachID, freeIVars, freeIVarsComponent, getComponentZone, getPageSize, getPopulation, getReclaimPolicy, getStackedSubzones
 
Methods inherited from interface swarm.activity.SynchronizationType
getSynchronizationType
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 

Method Detail

buildObjects

public Object buildObjects()
Override this to let your Swarm create the objects that it contains.

buildActions

public Object buildActions()
Override this to let your Swarm build its actions.

activateIn

public ActivityImpl activateIn(SwarmImpl swarmContext)
Override this to activate any actions you built in buildActions. Note, you must activate yourself first before you can activate actions inside you.

getProbeMap

public ProbeMapImpl getProbeMap()
Needed to support probing of Swarms.

getCompleteProbeMap

public ProbeMapImpl getCompleteProbeMap()
Needed to support probing of Swarms.

getProbeForVariable

public VarProbeImpl getProbeForVariable(String aVariable)
Needed to support probing of Swarms.