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 23:46:26 -0500
Content-Type:
text/plain
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