[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scheduling actions
From: |
glen e. p. ropella |
Subject: |
scheduling actions |
Date: |
Thu, 24 Apr 1997 11:21:42 -0600 |
Did anyone respond to your question?
Doug Donalson; writes:
> I wrote a function to seed the population values in
> my model over a number of time steps. I create a seperate
> schedule for the seed operation with autoDrop=1 and then
> insert actions with message to myself "seed" at several
> sucessive times. The problem is that imstead of executing
> it once in a particular time perion it does it 100 times!
[...]
> modelSchedule = [Schedule createBegin: [self getZone]];
> [modelSchedule setAutoDrop: 1];
> modelSchedule = [modelSchedule createEnd];
>
> Here is the event insertion:
>
> [modelSchedule at: 18 createActionTo: self message: M(seed)]; *
So, are there 100 actions on the schedule for cycle #18? Does it only
go through code (*) once?
glen
==================================
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.
==================================