swarm-support
[Top][All Lists]
Advanced

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

Re: SimpleObserverSwarm in Java again... :-{


From: Marcus G. Daniels
Subject: Re: SimpleObserverSwarm in Java again... :-{
Date: 26 May 2001 11:36:58 -0600
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "BJ" == Babjak Jozef <address@hidden> writes:

BJ> I did everything I know - but unfortunately, my application
BJ> still not run. 

BJ> I sending U my actual sources. 

The easiest way to make that code run is to not extend Bug from
SwarmObjectImpl.  That means changing the Bug constructor to not have
arguments and changing the ModelSwarm not to use a Zone argument.

Before when I said that all Swarm objects have Zone constructor arguments,
what I meant was that features that come from Swarm (as opposed to agents
in your simulation) are that way.  It isn't necessary, or particularly
useful in a simple simulation to use Zones for agents, in my opinion.

(Swarm has since been fixed so that FActionForEachHomogeneous will work
with agents based on Objective C superclasses.)


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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