MASON-INTEREST-L Archives

January 2016

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Sun, 3 Jan 2016 18:38:45 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
On Jan 3, 2016, at 4:32 AM, Axel Kowald <[log in to unmask]> wrote:

> Just one thing, I had a quick look in the manual and where the
> ParallelSequence constructor method is described is says "the array
> ought not be modified later". But my agents can get killed during the
> simulation, so I have to update ParallelSequence correspondingly. Since
> ParallelSequence is a subclass of Sequence I thought I could use those
> methods to change the content of my ParallelSequences !??

ParallelSequence can be modified any time (see the Sequence class documentation) PRIOR to it being stepped (or after the step has completed).  While it's being stepped, it should not be messed with at all.

Sean

ATOM RSS1 RSS2