swarm-support
[Top][All Lists]
Advanced

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

Re: dynamically-created swarms


From: Michael Krumpus
Subject: Re: dynamically-created swarms
Date: Sun, 21 Nov 1999 19:01:52 -0600 (CST)

> >>>>> "MK" == Michael Krumpus <address@hidden> writes:
> 
> MK> I have had no problems getting this to
> MK> work except for when I am creating new agents "on the fly". 
> 
> A couple things to watch out for:
> 
>   1) Make sure the Agent schedules are created with the `relativeTime' option.
> 
>   2) Schedule events within the agent starting from timestep 1, not 0. 
>      (This is a bug in Swarm I'll fix as soon as I get a chance.)


Yes, #2 was my problem!  As soon as I changed my agent schedule start
time from 0 to 1, it all works.  The only problem now is that I can't
have a repeat interval of 1.  If I specify start time of 1 and repeat
interval of 1, I get the error:
"cannot insert action at time greater than or equal to repeat
interval"

I can use a repeat interval of 2, but I have to adjust all my other
schedules in the simulation by a factor of 2 so they are the same
relative to one another.
Thanks for your help.

-mk


                  ==================================
   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]