Print

Print


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