[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getCurrentTime
From: |
Rick Riolo |
Subject: |
Re: getCurrentTime |
Date: |
Thu, 6 Jan 2000 07:00:22 -0500 (EST) |
I don't know for sure, but I'll be you try to create
agents both during the run *and before* the
schedule starts running (eg in a buildObjects method).
Given that guess, I'll bet it crashes because you
are trying to getCurrentTime before time starts.
If that is so, you'll need some other way to tell the agents they
are being created before the start of time.
(some flag passed to them or something).
- r
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
On Wed, 5 Jan 2000, Matthew M Murphy wrote:
> Date: Wed, 5 Jan 2000 19:44:37 -0500 (EST)
> From: Matthew M Murphy <address@hidden>
> Reply-To: address@hidden
> To: address@hidden
> Subject: getCurrentTime
>
>
>
> I know this kind of thing has been covered on the list recently, but I am
> still having problems with it:
>
> I want some of my agents' specific characteristics to be set at create
> time based on the amount of time that has elapsed in the model. However,
> when I try the techniques for ascertaining the time which are in the faq,
> problems occur resulting in a segfault.
>
> Can anyone offer any suggestions as to what I might do or how I might
> alternatively implement this kind of thing...
>
> Matt
>
>
>
> ==================================
> 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.
>
>
==================================
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.