[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Modelling] Follow up question
From: |
Vijay |
Subject: |
[Swarm-Modelling] Follow up question |
Date: |
Thu, 8 Sep 2005 16:57:50 -0400 (EDT) |
Thanks for the quick reply alex.
I searched the mailing list archives like you mentioned and found this
\"reasonably\" clear posting by Paul Johnson on this issue.
http://www.swarm.org/pipermail/support/2000-August/008981.html
This is a relevant passage from the above link:
{
Each agent first of all has to have a
\"handle\" on an action group that exists on the schedule at time 2. If
there is no action group there yet, then one has to be created and
returned. That\'s what this method in the Schedule class does:
- (id <ActionGroup>)insertGroup: (timeval_t)tVal
If the agent catches the return from that, ie with
mySubSchedule=[theSchedule insertGroup: 2];
}
However, in the above post, PJ never mentions how one can check whether or not
a subschedule has already been created for a given
time. Further, if it has been created, then is there a method in the schedule
class that returns the corresponding subschedule object for a given time?
Thanks again,
Vijay
- [Swarm-Modelling] Follow up question,
Vijay <=