swarm-support
[Top][All Lists]
Advanced

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

start a model schedule in the future?


From: Rick Riolo
Subject: start a model schedule in the future?
Date: Sat, 20 May 2000 11:37:40 -0400 (EDT)

This must have been covered in a previous question, but
I can't find it...so feel free to point me to an item
if you know if it...

I'd like to start a model schedule at a time > 0,
but then have it repeat forever, eg

  modelSchedule = [Schedule createBegin: [self getZone]];
  [modelSchedule setRepeatInterval: 1];
  modelSchedule = [modelSchedule createEnd];
  [modelSchedule at: getUPar("agentMemory") + getUPar("MxWS") 
                                 createAction: modelActions];

But then I get this message:

> cannot insert action at time greater than or equal to repeat interval

What's the best way to do this?
thanks!
 - r

ps if it matters, this is with 1.4.1 .

Rick Riolo                           address@hidden
Center for Study of Complex Systems (CSCS)
4477 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://www.pscs.umich.edu/PEOPLE/rlr-home.html


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