swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nested swarms, follow-up


From: Sven Thommesen
Subject: Nested swarms, follow-up
Date: Tue, 16 Jul 1996 19:10:43 -0700

Another little question to add to the previous ones on this topic, this time
regarding the creation of swarm probes:

d) in HeatbugObserverSwarm, in method buildObjects, there are calls to 

        [probeDisplayManager createProbeDisplayFor: heatbugModelSwarm];
        [probeDisplayManager createProbeDisplayFor: self];

right after you create heatbugModelSwarm.

I take it that with the new setup, the intention is for all probes and
displays to be created and managed in the ObserverSwarm (BatchSwarm).
However, with nested swarms, I cannot create probes on the sub-swarms of
ModelSwarm at the point above, because it occurs before the call to

        [heatbugModelSwarm buildObjects];

which is where the sub-swarms would get created. Any reason why the probe
creation cannot be moved so it occurs after the subswarms have had a chance
to create themselves?

Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]