MASON-INTEREST-L Archives

January 2016

MASON-INTEREST-L@LISTSERV.GMU.EDU

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

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

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Sun, 3 Jan 2016 23:46:26 -0500
MIME-version:
1.0 (Mac OS X Mail 7.3 \(1878.6\))
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=windows-1252
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Message-ID:
Content-Transfer-Encoding:
8bit
Parts/Attachments:
text/plain (14 lines)
On Jan 3, 2016, at 6:38 PM, Sean Luke <[log in to unmask]> wrote:

> 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.

Okay, I've just added some tweaks to ParallelSequence to loosen that requirement.  So in general:

1. You create a ParallelSequence with an existing Collection or array.

2. Thereafter you can use Sequence's methods to add, remove, or replace steppables.  You can call these methods at any time (in ParallelSequence) as they are synchronized (in ParallelSequence only).

Hope I got that code right.

Sean

ATOM RSS1 RSS2